View Single Post
  #1 (permalink)  
Old 01-02-2006, 12:35 PM
Altern8 Altern8 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 24
Altern8 is on a distinguished road
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
Reply With Quote