@caesarcrypto said in EA not closing out trades on MA crossover:
@ambrogio When I tried the hours filter it gave me the same results but then I realised I was using the backtester on visual mode at the settings "control point" instead of every tick because that takes way too long.
So I tried with visual mode off and with setting "every tick" and now it closes on the right candle.
I still find that odd because on the control points settings it jumps 20 minutes every time and my hours settings are 23:30 - 23:59. So I would think that when it jumps from 23:20 to 23:40 it should close the trade at 23:40 because at that time the price is below the MA... But it doesn't and I also noticed that on this mode it doesn't pick up on certain trades that it should be entering.
So the problem of the trades not losing is solved but now I wonder, is there no way to be able to analyse your trades on chart without the slow "every tick" option in visual mode?
Thanks!
No, there is not. Indeed, it is always very useful to make the visual backtest on each tick, and your case is demonstrated