Page 1 of 1

Shares: Backtesting ends at the first day in a long period of backtesting

Posted: Sat Jan 16, 2021 7:54 pm
by quijote
When you take shares (with index or forex there is no problem) and a backtesting is launched for a certain period, the backtesting process ends and is cut right at the end of the first day; as if there was something at the end of each day in the historical data file, the EA will interpret as the end of the period or someting similar ...
This just happened to me with APPLE and IBM stocks cases..
I insist: with forex or index it works perfectly.

Re: Shares: Backtesting ends at the first day in a long period of backtesting

Posted: Sun Jan 17, 2021 11:48 pm
by tickstory
Hi Quijote,

As far as the data export and file format goes, there is no difference if a stock or FX symbol is being used.

Some things you might want to check:

- Have you checked that all the data is available in the MT4 history center (Tools->History Center)?
- Have you ensured that the "Use date" checkbox in the Strategy Tester is unchecked.
- Have you tried to run a basic EA that prints out the prices of the data? This will tell you whether all ticks are correctly being processed by the Strategy Tester. You can also check the Strategy Tester "Report" tab to see how many ticks were processed. If this number is high, it means that the tick data is being processed but for some reason your EA is causing the issue.

Thanks.