Code wanted: Close all trade on close of 1 trade ( multiple closing trades script )

MQL4 Scripts

Spécifications

Hi,

 

I'm working on a EA, and i need a code which i can't figure out myself.

 

I have build a EA, which opens a trade and set pending trades... so far so good.

Now i want that EA to close all open trades ( long and short )on the current pair ( EA is running on 6 pairs at the time ) as soon as 1 trade is closed.

The Pending orders will be closed automatically which i already programmed..

 

 

To me its looks like it's no rocket science... but i can't do it... so to me it is...

 

Anyone here to help?

code has to be in MT4 not Mt5 

Répondu

1
Développeur 1
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
2
Développeur 2
Évaluation
(590)
Projets
789
71%
Arbitrage
9
33% / 33%
En retard
22
3%
Gratuit
Publié : 8 codes
3
Développeur 3
Évaluation
(361)
Projets
628
72%
Arbitrage
14
43% / 7%
En retard
28
4%
Gratuit
Publié : 9 codes
4
Développeur 4
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
5
Développeur 5
Évaluation
(28)
Projets
36
17%
Arbitrage
5
20% / 40%
En retard
17
47%
Gratuit
Publié : 5 codes
6
Développeur 6
Évaluation
(16)
Projets
17
29%
Arbitrage
1
0% / 100%
En retard
2
12%
Gratuit
7
Développeur 7
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
8
Développeur 8
Évaluation
(2)
Projets
2
0%
Arbitrage
13
8% / 92%
En retard
1
50%
Gratuit
9
Développeur 9
Évaluation
(221)
Projets
410
61%
Arbitrage
13
38% / 23%
En retard
162
40%
Gratuit
Publié : 43 articles, 1 code

Informations sur le projet

Budget
20 USD
Délais
de 1 à 4 jour(s)