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
(320)
Projetos
523
66%
Arbitragem
52
21% / 38%
Expirado
167
32%
Trabalhando

Informações sobre o projeto

Orçamento
10 USD
Desenvolvedor
9 - 9 USD
Prazo
1 dias