Download MetaTrader 5
To add comments, please log in or register
Interested in MQL5 features? Find them in documentation!
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