|
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 un-used order to be deleted.
Can anyone help me?
Thanks
Altern8
|