My EA doesn't load enough historical data. New comment LossFunction 2020.12.22 16:00 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. Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. iClose for PERIOD_D1 always returns 0 if Shift is >= 400 bars in MT5 but ok in MT4 MQL5 - History cache New comment
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.