Help with this code...

 

Hi all,


I have a requirement that will allow me to reduce the losses. But for that I will need a code for:


SITUATION: I have an open BUY order, and a SELL STOP order (at a 50pips level for instance). This BUY order must trail after a specif number of profitable pips (lets say 20), and a trail of +1 (move the stop loss to breakeven +1). Hope you got the idea.


What do I need:

- Verify if the open BUY order is already on the +1 profit

- If so, delete the SELL STOP ORDER.


Thank you very much


Regards


Paulo

Reason: