How do you delete a pending order
-
How do you delete a sell pending order , placed while opening a buy trade in the same market , when the buy take profit is hit and the sell pending order hasn't opened yet. For example in this EA:https://fxdreema.com/shared/xHwKs7G2d
-
@od Use a purple block, trade closed by SL, under delete pending order (use on the on trade tab).
-
@jstap I've tried this https://fxdreema.com/shared/1LJvS0Wud and it didn't work. Is there a way to make sure the pending order is deleted when the buy is closed
-
I would check the profit of the trade that was just closed (the buy trade in your example) and then do the following, which will turn off the EA and delete any outstanding pending orders.
-
@davidmcc Your feedback is appreciated. The problem with the check profit block is, it is not in pips. But I have made this adjustment to the EA , am not sure whether it performs as it should while back testing especially block 4 and 8 . Kindly check if performs as described above.https://fxdreema.com/shared/RZ5UoWTQd
-
@od You should use the blocks on the 'on trade' tab as suggested by jstap.