Cancel ALL pending orders (also TP and SL)

To add comments, please log in or register
Albalunga
57
Albalunga  

There is an EA that cancel all pending orders (see attached). But it  leaves on market pending take profit and stop loss, that really are also pending orders. Is there an EA that cancel ALL pending orders (that is also take profit and stop loss)?

Thanks

William Roeder
19997
William Roeder  
  1. Your script (not an EA) deletes all pending orders. Any remaining TP/SL are part of open orders.
  2. Why did you post your MT4 question in the Root / MT5 EA section instead of the MQL4 section (bottom of the Root page?)
William Roeder
19997
William Roeder  
Albalunga: This sections is "EA and automated trading" so I thought it is for both MT4 and MT5
General rules and best pratices of the Forum. - General - MQL5 programming forum
To add comments, please log in or register