Delete pending order

Back to topics list To post a new topic, please log in or register
avatar
1
olufsen 2016.02.22 08:41
 
Hello. I have this script and I want it to delete all pending orders (SL,TP,trailing stop) at x loss. I want to leave the trades open but to erase only the pending orders. It has this option to erase pending orders but it does also with the open position. Can someone help me with this? Thank you in advance.
Attached files:
  closeatprofit.mq4  (14.07 KB)
avatar
108
eddie 2016.02.22 09:03 #
 

then don't call CloseDeleteAll to delete all orders.


Back to topics list  

To add comments, please log in or register