I just had a similar issue of download the complete history for any symbol from any chart.
You have to use ArrayCopySeries,analyze their example, and incorporate into your code!
I just had a similar issue of download the complete history for any symbol from any chart.
You have to use ArrayCopySeries,analyze their example, and incorporate into your code!
Thank You,
But it does not work, any one know how to send the page up key press via the expert, or any ther sugestion on how to force the donwload of history data
Sinceraly
Pablo
Hi i use this to force download since it is written:
double iLow( | string symbol, int timeframe, int shift) |
For the current chart, the information about low prices is in the predefined array named Low[].
for(int e=0;e<5; e++) { if(iLow(Symbol(),TimeFrame,e)==0){ Print("local history for M"+TimeFrame+" is empty. Trying to load now"); for(int a=0;a<2; a++) {Sleep(3000); if(iLow(Symbol(),TimeFrame,e)!=0){Print("local history for M"+TimeFrame+" loaded"); break;}}} }
So attempting to read from history triggers automaticly download i think. You can do this loop for all bars you need but i asume that all history is loaded this way....
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I need 864000 bars for 1M( 1 month of data) time frame on every paris for my Expert to work corectly, I can get the history just pressing page up on the select pair, but because I need for every pair I wrote the faloowing expert to force the download of data, but it does not work, any sugestions.
Thank You