Pending and active orders closing

drippler

Trader
Feb 13, 2024
2
0
6
33
Hello,

I would like to have a EA or anything that is possible for metatrader 5 (preferable) that closes my orders + pendings off that specific pair.

Example:
I use 3 pending orders Buy limits or sell limits on eurusd.

1st buy limit gets activated doesnt hit tp.
2nd buy limit gets activated hits tp (wich has a differen tp than 1st).
Both orders should be closed means --> 1 order hit tp the other order will be closed in less profit.
the 3th pending buy limit should be removed because one of the 3 did hit tp.

another example:
1st buy limit gets activated doesnt hit tp.
2nd buy limit gets activated doesnt hit tp.
3nd buy limit gets activated hits tp --> all orders should be closed.

another example:
1st buy limit gets activated and hits tp all other limit orders should be removed.

Hope anybody can code for me something like this or knows something that is already available.