Can I force cache data / charts for offline use ?

 

Basically I want to look at some charts on the underground tube when I go to work. 

Is it possible to run a short script when I'm at home before I leave for work that will download all the data time frames I need 4H , day , week, for all the charts I have open. 

Then when I go offline underground I have up to data charts to look at ... ??

Thanks Neil.  

 
neilcharlton:

Basically I want to look at some charts on the underground tube when I go to work. 

Is it possible to run a short script when I'm at home before I leave for work that will download all the data time frames I need 4H , day , week, for all the charts I have open. 

Then when I go offline underground I have up to data charts to look at ... ??

Thanks Neil.  

See the script on this page. Code is here.
 
thanks , will this also work for Metatrader 4 ?
 

its ok , found a solution . thanks for your help :-) 

https://www.mql5.com/en/code/8102

 

Reason: