Steps to take an ea from backtesting to live
-
I would like to take this ea from the backtesting stage into live, but im confused on some things
https://fxdreema.com/shared/JKcbqqMadSo I have to swap from candle id 1 to 0 to read ticks, but how do I make sure to only enter at or near the candle close, for this ea I want to enter at the close of every 15m candle, so would I have to do something like this?

I also have stochastics to confirm entry on a higher timeframe which is the 1h and im not sure if this will interfere with it. -
@supersako That is not possible. No one will never now when a candlestick is closed exactly. The best you can do is choosing a specific time before the next candle opens.
-
@l-andorrà
Thats fine with me, actually that would be better since it was already entering at the open price with candle id 1, Im trying my best to simulate that in live with the solution above, but the results between the two arent even close, adding "once per minute" every 15 minutes reduces the trades by 30% and almost makes it not profitable, even though both ea's enter at the same time, is there another way to do this? -
@supersako You can alway try the 'on timer' tab. There you can use all those blocks that can be executed every 14:59 minutes. That will probably be the closest you'll ever be to the close of the candle.