- www.mql5.com
-
Why did you post your MT4 question in the MT5 General section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time, post in the correct place. The moderators will likely move this thread there soon. -
Perhaps you should read the manual. iOpen Get the D1 shift for the corresponding M15 shift and read it.
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
On MT4: Unless the current chart is that specific symbol(s)/TF(s) 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 2019.05.20
-
-
Or to avoid having to load the D1. Compute the start of the day, get the shift, and just read it.
datetime bod = date(Time[i]); int iBod = iBarShift(_Symbol, _Period, bod); double openD1 = Open[iBod];
Find bar of the same time one day ago - MQL4 programming forum 2017.10.06
-
Why did you post your MT4 question in the MT5 General section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time, post in the correct place. The moderators will likely move this thread there soon. -
Perhaps you should read the manual. iOpen Get the D1 shift for the corresponding M15 shift and read it.
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
On MT4: Unless the current chart is that specific symbol(s)/TF(s) 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 2019.05.20
-
-
Or to avoid having to load the D1. Compute the start of the day, get the shift, and just read it.
Find bar of the same time one day ago - MQL4 programming forum 2017.10.06
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use