How to load all chart bars when using strategy tester with specific date range?

 

Hi,

The "Accumulation/Distribution" indicator is a cumulative indicator and when i use mt4 strategy tester, this indicator calculates from shown chart bars not all bars (start from begin of selected date range).

How can i load all bars when use strategy tester to make AD indicator real?

Thank you

The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • www.mql5.com
The idea of ​​automated trading is appealing by the fact that the trading robot can work non-stop for 24 hours a day, seven days a week. The robot does not get tired, doubtful or scared, it's is totally free from any psychological problems. It is sufficient enough to clearly formalize the trading rules and implement them in the algorithms, and...
 

You can get only what the broker of your account offers.

Use copyrates but check whether you have got what you can get.

CopyRates - Timeseries and Indicators Access - MQL4 Reference
CopyRates - Timeseries and Indicators Access - MQL4 Reference
  • docs.mql4.com
Gets history data of MqlRates structure of a specified symbol-period in specified quantity into the rates_array array. The elements ordering of the copied data is from present to the past, i.e., starting position of 0 means the current bar. If you know the amount of data you need to copy, it should better be done to a statically allocated...
 
Carl Schreiber:

You can get only what the broker of your account offers.

Use copyrates but check whether you have got what you can get.

 Thank you for you'r answer, but copyrates just copy data from loaded chart bar.