EA that cancels a buy-stop order if the stop-loss is hit before the entry is triggered

 

Hello,

My strategy involves setting up buy-stop or sell-stop order for the entry with attached stop-loss and take-profit orders. However, if the stop-loss price is hit before the entry stop order is triggered then I cancel the whole trade.

I'm looking for an EA that can cancel the order if the stop-loss price is hit first. Does any of you know of an EA that can do something like that?

Thank you very much!

Reason: