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
(211)
Proyectos
284
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Trabaja
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
(279)
Proyectos
377
72%
Arbitraje
19
32% / 47%
Caducado
15
4%
Libre
Ha publicado: 15 ejemplos
Solicitudes similares
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation

Información sobre el proyecto

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