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

MQL5 Bibliothèque

Tâche terminée

Temps d'exécution 21 minutes
Commentaires de l'employé
Great Customer.

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(103)
Projets
205
41%
Arbitrage
17
29% / 71%
En retard
45
22%
Gratuit
2
Développeur 2
Évaluation
(329)
Projets
539
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Travail
Publié : 1 code

Informations sur le projet

Budget
10 USD
Délais
1 jour(s)