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

MQL4 Sripts

Tarea técnica

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 

Han respondido

1
Desarrollador 1
Evaluación
(1131)
Proyectos
1433
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
2
Desarrollador 2
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
3
Desarrollador 3
Evaluación
(356)
Proyectos
590
70%
Arbitraje
14
43% / 7%
Caducado
28
5%
Libre
4
Desarrollador 4
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
5
Desarrollador 5
Evaluación
(28)
Proyectos
36
17%
Arbitraje
5
20% / 40%
Caducado
17
47%
Libre
6
Desarrollador 6
Evaluación
(16)
Proyectos
17
29%
Arbitraje
1
0% / 100%
Caducado
2
12%
Libre
7
Desarrollador 7
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
8
Desarrollador 8
Evaluación
(2)
Proyectos
2
0%
Arbitraje
13
8% / 92%
Caducado
1
50%
Libre
9
Desarrollador 9
Evaluación
(219)
Proyectos
405
60%
Arbitraje
13
38% / 23%
Caducado
160
40%
Libre
Solicitudes similares
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone

Información sobre el proyecto

Presupuesto
20 USD
IVA (21%): 4.2 - 4.2 USD
Total: 24.2 - 24.2 USD
Para el ejecutor
18 - 18 USD
Plazo límite de ejecución
de 1 a 4 día(s)