First open manually offline chart Symbol,H2
Then you can ask data of this symbol-timeframe from any EA
I opened GBPUSD H2 chart, and AUDUSD H2 chart,
iClose("AUDUSD", 120, 0) will NOT work on GBPUSD chart
iClose("AUDUSD", 120, 0) will NOT work on GBPUSD chart

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 created an H2 chart using,
v1.9 P4L PeriodCon.mq4
However,
iClose(Symbol(), 120, 0)
doesn't work.
Any solution apart from FileOpenHistory("SymbolH2.hst"..... ?