Automatically downloading history? - page 2

 
Bars is a single variable is can't be zero and 2048 at the same time.
 

Yes. Sorry bad english. What i mean is iTime(iOpen, iHigh etc) value is 0 when shift is over 2048. The maximum amount of bars i have gotten in anyway(except manually) has never been higher than 2048. 

 

i found this:

https://www.mql5.com/en/forum/123755

 It is better than nothing. I doubt there is a better way. Or is there? 

Reason: