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](https://c.mql5.com/36/39/copyrates-timeseries-and-indicators.png)
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...
![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
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