CloseAllTrades() OR CloseAllLongTrades() and CloseAllShortTrades() functions

MQL5 Bibliotecas

Trabajo finalizado

Plazo de ejecución 21 minutos
Comentario del Ejecutor
Great Customer.

Tarea técnica

I am in the middle of building an EA and need some help.

My EA opens 1 to n trades in a single direction either all long, or all short.

there comes a time where my EA has to close all 1 to n trades and start over in the opposite direction.

This function should look for all open positions in "this currency pair" described by Symbol() and close them.

I need this in the next 24 hours.

Please help.

CipherPips


Han respondido

1
Desarrollador 1
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
2
Desarrollador 2
Evaluación
(320)
Proyectos
523
66%
Arbitraje
52
21% / 38%
Caducado
167
32%
Trabaja

Información sobre el proyecto

Presupuesto
10 USD
Para el ejecutor
9 - 9 USD
Plazo límite de ejecución
1 día(s)