I run into some problems when backtesting my EA. The problem is that when I repeat the test several times with the exact same settings and same dataset I get very different results. When I apply my EA to a chart in my demo-account it works fine.
Does anyone have suggestions of what might be wrong?
Thanks in advance...
When I run the backtest for the first time on data for 2014 it does like 5000 trades. When I repeat the test for a second time it does just 4 trades. That is such a huge difference that I can not explain this by a lack of data quality. There must be something more fundamental.
In my EA I use TimeCurrent() for some checks. According to the documentation this should be the server-time at the last tick. Will this time be correctly updated during backtesting on historical data?