Download MetaTrader 5

Close orders after 1 trade closes

To add comments, please log in or register
alexbiesheuvel
73
alexbiesheuvel 2016.08.16 13:28 

Hi

 

I'm looking for a code which closes all open orders ( long and short ) for the current pair, when one of the orders hits TP.

 

Right now i'm struggling with the spread which causes not all orders to close due to the difference.

 

can anyone help me out?

 

thnx 

To add comments, please log in or register