My program works fine with chart time frames between M1 and H1, above that I get the error "not initialized string in array". I noticed that function iBars(NULL,0) does not return a value when the chart time frame is H4, D1, W1 or MN, likewise if ArrayCopySeries(adSeries,MODE_CLOSE) is used as a substitute. Yet the charts in all time frames are updated. Also iBars returns 12583 for M1, 1847 for M5, 560 for M15, 1287 for M30 and 560 for H1. Thanking you in advance, Take care.
- Mobile Trading
- MetaTrader 5 for iPhone
- Real and Generated Ticks - Algorithmic Trading, Trading Robots
I have tested iBars in a seperate program and it works properly. I must look at my main program and debug it as to why I get unitialised error. Thank you very much for your prompt attention.
Why does iBar return a decreasing number for a higher time frame?
Why does iBar return a decreasing number for a higher time frame?
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