![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
My EA has to calculate daily bars as much as possible when it's launched.
However, as below message shows, strategy tester only loads just 1 year of total bars.
GBPUSD,Daily: history cache allocated for 4412 bars and contains 262 bars from 2004.01.01 00:00 to 2004.12.31 00:00
With this, CopyRates function can only copy the 262 bars instead of 4412.
This happens even after I changed start datetime of the backtesting. How can I solve this problem ?
Thanks in advance.