Add the following line in top of your code :
#property strict
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
When new MT4 terminal was in beta version, i could easily port all MQL5 apps to MQL4 without some major changes.
In the final release and releases after it - the MQL4 EAs do not have comments set up - they just display variable names. Anyone know why is that?
I'm attaching screenshots to show what i mean.
In MQL5 - comments are working
In old beta MQL4 compiler - comments are working
New MQL4 compiler (that is supposed to make code even more like compatible with MQL5) - comments are not working again.
It makes much more difficult to convert my MQL5 strategies to MQL4. I have instructions relating to names in COMMENTS not the names of variables.
Does anyone have any idea why is it like that and is there a way to add comments in new MQL compiler to MT4 programs?
Why the regress?