Close all orders at a take profit level

Can someone help how can i close all orders when one order reaches the take profit level. thanks
kamada2020:
Can someone help how can i close all orders when one order reaches the take profit level. thanks

Hello,

a simple way is to use a tool it add same take profit (for same direction) and stop loss (for opposite direction)  on all orders.

There are free utilities for that operation.


The other way is to check a utility the history orders.

Nikolaos Pantzos:

Hello,

a simple way is to use a tool it add same take profit (for same direction) and stop loss (for opposite direction)  on all orders.

There are free utilities for that operation.


The other way is to check a utility the history orders.

Man can you enlighten me about the tool use said   

kamada2020:
Can someone help how can i close all orders when one order reaches the take profit level. thanks

example of the code: Close All if Take Profit activation: