high = iHigh(NULL,TimePeriod,shft); low = iLow(NULL,TimePeriod,shft); open = iOpen(NULL,TimePeriod,shft);
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 - MQL4 programming forum - Page 3 #26.4 (2019)
William Roeder #:
So precise! I'll use and test it for a week.
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 - MQL4 programming forum - Page 3 #26.4 (2019)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have an error in values in one of my downloaded and modified Pivot point indicator.
When I load the template, all values are correct. But when I clicked my MT4.exe to run the program, sometimes
the values are wrong. I need to load my saved template to make it correct. Any one experience this? Thank you.
I am checking it currently do i have to do something in the init() and deinit()?
All values comes from this.
high = iHigh(NULL,TimePeriod,shft);
low = iLow(NULL,TimePeriod,shft);
open = iOpen(NULL,TimePeriod,shft);