- Why did you post your MT4 question in the
Root /
MT5 EA 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. - Close, the MT4 predefined arrays default to as series. So Close[shift+5] is 5 bars before bar shift. In MT5 and OnCalculate arrays have no direction default, you must set them as series or not.
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
in metatrader mq4 programming, re Close[shift+02], or Close[shift+05] as examples....does the program reference the close 2 bars ago, for the former, and 5 bars ago for the latter?
if not, what does Close[shift+02], and Close[shift+05] and or Close[shift+10] refer to or reference?