iHighest(mSymbol, mPeriod, MODE_HIGH, barsGroup, i);
What are the 3 variables and where do they get assigned a value?
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4
On MT4: Unless the current chart is that specific pair/TF referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4
Thanks William
After reading the thread and understanding it "hopefully". I gather that by using
iTime(symbol, period, 0);
the data will be downloaded from the server. Right?
So basically, if I chnage the "0" to whatever shift "100 for the last 100 bars" then the mql4 code of the ea will have the data to work with. Right?
Thanks for that, else please correct me if my understanding is wrong, or affirm for me to know that you read my post :)
-------------------
Oops, I just read https://docs.mql4.com/series/itime
"If local history is empty (not loaded), function returns 0."
Well then, the problem still remains, and the link you povided did not help me much unless I am missing the point.
So, how can I get the data from the server for my ea to loop over some symboles and timeFrames for the purpose of backtesting?

- docs.mql4.com
The data will start to be downloaded.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
This line of code in an EA in mql4 is giving No history data error;
Reading up on https://docs.mql4.com/series/copyrates
Is this the only way to fix it? Since CopyRate gets the data from the server into an array. But then do I have to make up my own function to simulate what the iHighest does out of the box?
or there is a simpler solutions?
Thanks