I know that it is not obvious, but topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
-
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 - Don't mix apples and oranges.
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
Hello, I have to create a multitimeframe indicator. My problem is to find iMA value for 5 different timeframe.
As here:
For example if i is 2000 I take i 2001 one minute bar, if, for example, if this 1min bar is time 01/07/2020 11:37, I need to take value 5minutes from 01/07/2020 11:35 bar, and so is for 15min bar(11:30), 30min bar(11:30), 1h bar (11:00).
Thank you