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

MQL5 Bibliotecas

Trabalho concluído

Tempo de execução 21 minutos
Comentário do desenvolvedor
Great Customer.

Termos de Referência

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


Respondido

1
Desenvolvedor 1
Classificação
(103)
Projetos
205
41%
Arbitragem
17
29% / 71%
Expirado
45
22%
Livre
2
Desenvolvedor 2
Classificação
(329)
Projetos
539
66%
Arbitragem
53
21% / 40%
Expirado
169
31%
Trabalhando
Publicou: 1 código

Informações sobre o projeto

Orçamento
10 USD
Prazo
1 dias