delete pending order when a new condition occurs
-
Hello friends.
I have a question about the sequence and elimination of limit orders, let me explain, my expert creates a limit order at 50% of the impulse between candle 1 and candle 5. currently the limit order is eliminated with the time what can I do to eliminate the limit order when the event occurs again?
so when candle 1 5 respects my conditions it eliminates the previous pending order. -
Yes. Just add a 'delete pending order' blocks immediately above your 'buy/sell pending order' block.
-
@l-andorrà I hadn't thought of it so simple. I'll try now. Thank you!
-
You're welcome.