Actually a subject. I can’t test my expert Advisor because of the lack of initial bars in the tester. This problem was revealed on the daily candles. When running the tester, 267 bars are always pumped into the chart (in my case). But the indicator on which the expert Advisor is based requires a minimum of 1000 bars. How do I increase the initial number of bars? For example, I conduct testing on a daily interval, from 2012.01.01 how to make it so that there are at least 1000 bars until 2012.01.01, so that the indicator can be calculated by the beginning of trading.
PS I read the help, I did not understand how to properly use CopyTime and other functions for data loading.
Not enough bars in the tester
Share
m_a_sim
At least so
komposter
Start the test from an earlier date, and do nothing in the expert Advisor while the bars are on the chart < 1000:
if ( Bars < 1000 ) return;
bonifacy
2014.12.16 22:58:22.482 EURUSD,Daily: history cache reserved for estimated 509 barsThis is the number of bars in the cache you need to increase. How do I do this?