Trabajo finalizado

Plazo de ejecución 41 minutos
Comentario del Cliente
Very good programmer, take a time to teach you on what modification he make :) Good teacher :) Thank you !
Comentario del Ejecutor
Good customer! thank you for the job!

Tarea técnica

Hello, look at the entire code, check that it is programmed correctly, that there are no functions that are useless! Add a function so that there is only 1 order per currency pair. Currently it can happen that there are 2 or 3 orders per currency pair, I want to limit the number of orders to 1 per currency pair.


Add a code like this example :

int TotalOrders(string symbol="", ulong magic = -1) {

   int cnt = 0;

   int pos_total = PositionsTotal();

   for(int pos =pos_total-1;pos>=0;pos--)  {

      ulong pos_ticket = PositionGetTicket(pos);

      if(PositionSelectByTicket(pos_ticket) && (symbol=="" || PositionGetSymbol(POSITION_SYMBOL)==symbol) && ( magic==-1 || PositionGetInteger(POSITION_MAGIC)==magic) ) {

      cnt++;   

      }

   }

   return(cnt);

}


it's just an example of what I want, it can be programmed differently.


Archivos adjuntos:

MQ5
deep1.mq5
11.3 Kb

Han respondido

1
Desarrollador 1
Evaluación
(210)
Proyectos
282
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Libre
2
Desarrollador 2
Evaluación
(22)
Proyectos
23
39%
Arbitraje
0
Caducado
1
4%
Libre
3
Desarrollador 3
Evaluación
(9)
Proyectos
13
0%
Arbitraje
23
0% / 78%
Caducado
4
31%
Libre
4
Desarrollador 4
Evaluación
(57)
Proyectos
72
22%
Arbitraje
13
46% / 15%
Caducado
5
7%
Libre
5
Desarrollador 5
Evaluación
(43)
Proyectos
66
12%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
6
Desarrollador 6
Evaluación
(278)
Proyectos
373
72%
Arbitraje
19
32% / 47%
Caducado
14
4%
Libre
Ha publicado: 14 ejemplos
Solicitudes similares
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
The scanner will scan all currency base on MACD Diverdgent, my strength indicator and my better volume indicator. All this would be across all time frame and all currency pairs
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 1 día(s)