When I try to compile this script it gives an error on line 102:
'SERIES_SYNCRONIZED' - undeclared identifier downloadhistory.mq5 (line 102, column 46)
It appears that what should be "SERIES_SYNCHRONIZED" is spelled as "SERIES_SYNCRONISED" instead (with the "H" missing).
If you type the "H" in correctly then it compiles properly!
When I try to compile this script it gives an error on line 102:
It appears that what should be "SERIES_SYNCHRONIZED" is spelled as "SERIES_SYNCRONISED" instead (with the "H" missing).
If you type the "H" in correctly then it compiles properly!
A very usefull tool for downloading data.
just to make a confirmation. I drag the script to the current chart. but can only see a message flashed in a very short time.I can only move the chart back to 2012.10.2. This happened for all symbols. Does it mean the trading server will only provide history from 202.10.2? thank you.
Ok cool thanks but where does it dump the historical data?
I can't find any records? Where can i find the data?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
downloadhistory.mq5:
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.
If error it prints error code (see CheckLoadHistory in Organizing Data Access)
Author: Aleksey