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
hence why I saw that i defaulted to 0.
Just be careful with the new MQL4.5 language. The MetaEditor inserts 'property #strict' into new files, which documentation suggests 'i' might not be initialised in this case?
But then the documentation looks a bit confusing? It says:
Since the number of changes is large enough, the new #property strict property has been introduced to provide maximum compatibility with the previous approach to developing MQL4 programs.
But the 'The table of differences between compilers' below that quote seems to indicate that #property strict makes MQL4 less compatible with old MQL4 and more compatible with MQL5 ?? I think I've just confused myself!