Tarea técnica

//+------------------------------------------------------------------+
//|                                       Liquidity Hunt            |
//|                    Generated by ChatGPT on MetaTrader 5          |
//+------------------------------------------------------------------+
#property strict

double sellside_liquidity, buyside_liquidity, price_up, price_down;

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   // Calculate ATR
   double atrValue = iATR(_Symbol, 0, 14);

   // Example logic for daily bias
   double closeValue = iClose(_Symbol, 0, 0);
   bool longCondition = sellside_liquidity != 0 && closeValue > sellside_liquidity;
   bool shortCondition = buyside_liquidity != 0 && closeValue < buyside_liquidity;

   if (longCondition)
     {
      // Example logic for price move up based on sellside liquidity
      price_up = closeValue + atrValue;
      // Execute a long trade here if needed
      OrderSend(_Symbol, OP_BUY, 0.1, price_up, 3, 0, 0, "Long Entry", 0, 0, clrGreen);
     }
   else if (shortCondition)
     {
      // Example logic for price move down based on buyside liquidity
      price_down = closeValue - atrValue;
      // Execute a short trade here if needed
      OrderSend(_Symbol, OP_SELL, 0.1, price_down, 3, 0, 0, "Short Entry", 0, 0, clrRed);
     }
  }
//+------------------------------------------------------------------+

Han respondido

1
Desarrollador 1
Evaluación
(10)
Proyectos
25
28%
Arbitraje
3
0% / 0%
Caducado
1
4%
Trabajando
2
Desarrollador 2
Evaluación
(198)
Proyectos
257
62%
Arbitraje
9
22% / 33%
Caducado
10
4%
Trabaja
3
Desarrollador 3
Evaluación
(140)
Proyectos
206
80%
Arbitraje
18
33% / 44%
Caducado
10
5%
Trabaja
4
Desarrollador 4
Evaluación
(19)
Proyectos
23
48%
Arbitraje
4
0% / 100%
Caducado
2
9%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(204)
Proyectos
208
28%
Arbitraje
0
Caducado
3
1%
Libre
7
Desarrollador 7
Evaluación
(42)
Proyectos
112
56%
Arbitraje
2
50% / 0%
Caducado
3
3%
Libre
8
Desarrollador 8
Evaluación
(260)
Proyectos
422
38%
Arbitraje
86
44% / 19%
Caducado
70
17%
Ocupado
9
Desarrollador 9
Evaluación
(5)
Proyectos
4
50%
Arbitraje
4
0% / 75%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(564)
Proyectos
933
47%
Arbitraje
302
59% / 25%
Caducado
125
13%
Trabajando
Solicitudes similares
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer must be skilled in Pine Script and have a solid understanding of how to code market structure indicators. Looking forward to working with a talented developer
CHAPTER 1: BASICS 1.THE BASICS 1.1. EXPANSION AND RETRACEMENT Expansion =>occurs when there is an impulse movement towards a direction. Retracement => is the correction movement after an impulse movement. 1.2. FIBBONACCI RETRACEMENT USED TO DETERMINE THE END OF THE RETRACTION MOVEMENT, USUALLY THE PRICE RETRACTS TO 50% OR UNTIL OTE (0.62, 0.705, 0.79) BEFORE ANOTHER IMPULSE MOVEMENT OCCURS. 1.3. BMS - BREAK IN MARKET
I am seeking an experienced and skilled developer to code an Expert Advisor (EA) for the MetaTrader 5 platform based on a specific trading strategy with Exponential Moving Average and Buy or sell signals from Crossovers. The developer must have expertise in building EA and ensure the final product is efficient and reliable. If you have the expertise and experience to successfully handle this project, looking forward
I want a program that automatically disables manual trade execution once a specified number of trades have already been placed. ie. After a total of 3 trades have been placed on that day, manual trade execution should be disabled. I want the program to also limit the amount of lots that can be traded in any given day. ie. Maximum of 15 standard lots in any given day. The program should disable manual trade execution
Greetings to all developers that see this post, I have a task, I would like to work with an expert. I have an indicator that is written in the Pine script (TradingView) language; I would like it converted to MQL5, which will then lead to the creation of a trading bot based on the circumstances. I'll give you access to the indicator file
Hi , i want a indicator that shows the trades history on the chart, just for current day, like : first trade : -54 Second trade : -52 Third trade : +126 , and after three trades, display "No more trades"
I am looking for a highly sample and ready and tested profitable EA to purchase.if it meets my requirements i will order same one.EA must be low drawdown high profit on any timeframe
Hello i need someone who can convert a trading view indicator into an mt5 indicator that can work smoothly also need to add an alert on the indicator i will require to test the indicator run it for 1-2days to confirm all is okay thank you
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
Hello. I would like to get a TOS script converted to Tradingview for my alerts. I’m haven’t a hard time getting my entry point because the script does not fire off alerts on thinkorswim. I will send the script so you can see if it’s possible

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD