Download MetaTrader 5
To add comments, please log in or register
Do you want to write a trading robot? Find solution in MQL5 Reference!
Automated-Trading
Admin
97631
Automated-Trading 2011.03.03 14:01 

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

hatlle
68
hatlle 2012.12.12 21:18  

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.

phi nuts
2184
phi nuts 2012.12.13 05:20  
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 

/
To add comments, please log in or register