Delete a pending order
-
Hi
i'm a new user of FxDreema and i found it very good, but now i'm stuck in a problem.
I'd like to know how i can delete a pending order after the primary order is closed with a profit.To recap:
Open a sell now
Open a pending buy order some pip away from the sell order
If sell order is closed with a profit delete pending order and only if is closed with a profitI hope my strategy explanation is clear for you.
Thank you in advance and have a nice day.
Enrico
-
There are at least 2 ways.
- One way is under "on Tick" - something like: No trade is running -> Check last closed trade profit -> Delete pending orders
- The other way is under "on Trade": (on trade) Trade closed -> Condition (where you will check the profit, use (on trade) category) -> Delete pending orders
I think I prrefer the first way, because in MT4 for "on Trade" to work extra resource is needed, but only if you have some blocks there
