MetaTrader 5 MT5 Scripts downloadhistory.mq5 – script MetaTrader 5

downloadhistory.mq5 – script MetaTrader 5

The script downloads historical data (for the current symbol), available at trade server.

The download progress is plotted using the CProgressBar class, proposed in The Price Histogram (Market Profile) and its implementation in MQL5 article.

downloadhistory script demo

In “Experts” tab of Toolbox window it prints the first date of the server history.

downloadhistory script log

If error it prints error code (see CheckLoadHistory in Organizing Data Access)



📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks
Alternative:   Trend Dashboard Indicator - indicator MetaTrader 5