Problems when Expirations is under 10 minutes.
-
I've been testing an EA, but I have noticed that when I use expiration under 10 minutes for my pending orders, then, when these pending orders become trades, they are closed after 10 minutes, but when I use 11 minutes as expiration time for my pending orders, everything goes well.
Any idea how can I solve this.
Thank you for your help.
-
Can you please share the link to your project?
-
I think I fixed it.
By the way, usually it's not possible to set hard expiration lower than 10 (or 11) minutes for pending orders, MetaTrader (or the broker, I'm not sure) doesn't allow it. That's why instead of a hard expiration, a virtual one is set, which is a hidden arrow on the chart. The problem happened that when the pending order is triggered, the result trade has the same ticket number, and the hidden arrow that was placed for the pending order worked for the trade as well.
-
Enzo chiedo a voi come si fa ha chiudere le operazioni ogni 60 minuti