Altern8 / Publications
Forum
How to delete a pending orders
Hi, Happy new Year everyone. Can someone give me a snippet of code, that will delete a un-used buystop/sellstop order? For example, the ea I use, places a buystop order and a sellstop order , 10 pips away from the current price. If one of the orders(buy or sell stop) is filled, I want the other