Pending order fail
-
Hi, I'm Spanish and I'm using the translator, I'm sorry.
the EA puts pending orders correctly but does not buy in the correct candle. I upload a photo and the EA. Thank you.
https://fxdreema.com/shared/rQQw07uEd

-
MetaTrader shows you where the pending order was created (the first arrow) and when it was triggered (the second arrow). So you have 2 blue arrows connected with line. This is how pending orders normally look in the Tester, I don't see something strange.
-
Sorry I explained myself wrong. what I want to buy when the price matches 50% of the previous candle. Maybe for this it is better to use direct purchase orders?
How could I make pair to buy in the green arrows? many thanks -
Pending orders are sent to the broker and the broker is responsible to trigger them and turn them into running orders. In the time between PENDING ORDER and START BUY the EA doesn't even need to work. If you are asking why your orders are not triggered in the next candle after PENDING ORDER... I don't know really. Does this happen with manually created pending orders?