pending order count/ delete pending order
-
Could someone have a look at this EA. I can't see why my count (block 110) and expiry blocks (113-116)are not working.
https://fxdreema.com/shared/9V5IV6Bgb

much appreciated.
-
Expiry: you can't use the blue block, that deletes all orders. Try using the pink "close" block instead of it.
Count:
What are you trying to do here? Currently the logic is as follows:
If there are 2 or more orders -> activate ORANGE
If there are 0 or 1 orders -> activate YELLOW -
thanks for the prompt reply. I tried what you said and got the same result
https://fxdreema.com/shared/mcZo0enN
With the pending orders I was just trying to set it to place 2 pending orders until they expired or played out.
With the pending orders just want it to expire after 15 min. I see there were some posts on broker having min times, but don't understand why I can set a min time to expire.
Thanks in advance
-
@sli1-0 Here's one problem:

This adds a whole number - in case of EURUSD, that means something like price 2.10305
Try using "+1 pips" in the adjust. Maybe that breaks the system -
pips and pip give the same result

