Close a trade by other trade

Composer
50
Composer  

hi,

is that possible when there are 3 open trades and if i close trade 1 then trade 2 or/and 3 can be closed forcefully also at the same time by following the trade no. 1? any ea or anything else available for that task?

i dont know how to explain because english isnt my native language.

i hope you have got it thanks all.

regards,

james

Mladen Rakic
200884
Mladen Rakic  

If you mean that you close 1 order manually and the rest is then closed automatically, why don't you simply use some script that will close all the orders at once? The effect would be the same (provided that you choose the exact moment when you wish to close the orders)

JamesBonds:
hi,

is that possible when there are 3 open trades and if i close trade 1 then trade 2 or/and 3 can be closed forcefully also at the same time by following the trade no. 1? any ea or anything else available for that task?

i dont know how to explain because english isnt my native language.

i hope you have got it thanks all.

regards,

james
Composer
50
Composer  

because its for a special task and i dont want to close all trades, only some.

e.g. where i can give the trade number to close... something like this.

Marcos Silva
391
Marcos Silva  

By trade number you would have to set it up every time you have your total trades open.

Would yo like to close this trades by magic number? pair names? anything specific ?

Composer
50
Composer  

can be pair number or also magin number or both.

Mladen Rakic
200884
Mladen Rakic  

Did you check this thread : https://www.mql5.com/en/forum/173000 ?

Almost sure that you will find what you are looking for there

JamesBonds:
can be pair number or also magin number or both.