Libraries: CDownLoadHistory class

 

CDownLoadHistory class:

The CDownLoadHistory class provides the methods of historical data downloading in two modes: "visual" and "silent".

1. Visual mode

The example of use of this mode is downloadhistoryvisualmode.mq5. The "history download mode" input parameter can be one of two modes: "current symbol" or "all symbols from Market Watch window": For the case if the "current symbol" mode is selected, the single progress bar will be shown.

2. Silent mode

The result of downloading is availiable as a return code. The silent mode can be useful in programs, where visualization is not needed. See example in downloadhistorysilentmode.mq5 script. It uses the CProgressBar class, described in The Price Histogram (Market Profile) and its implementation in MQL5.

Author: Aleksey

CDownLoadHistory class

 

In this code the word "SERIES_SYNCHRONIZED" is spelled incorrectly because it has an "H" missing.

If you type the "H" into the correct place then it compiles properly.

 
hatlle:

In this code the word "SERIES_SYNCHRONIZED" is spelled incorrectly because it has an "H" missing.

If you type the "H" into the correct place then it compiles properly.

Copy paste from here https://www.mql5.com/en/forum/3294#comment_387048

You should also notice that this code was published in Feb 28th 2011. At that time, of course MT5 was a different build. In Sep 6th 2012, on MT build 695 the err was spotted and corrected. See it here point 7 (https://www.mql5.com/en/forum/53/page13#comment_307478). Unfortunally, the bug in this code remain ... as a remainder ;D 

Reason: