Hello. Is there a way to deactivate #property strict on mq5 fileswhen it compiles property strict is not activated
Keith Watford:
😭No it dont, am converting an mq4 code without properrty strict to mq5, its acting as if it's there lol. Take care.
#property strict doesn't exist in MQL5 does it?
Jefferson Metha: its acting as if it's there
Correct. Fix your old MT4 code. Fixing the warnings will save you hours of debugging, but you must understand the differences.
William Roeder:
Thanks fixed problem was ArrayMax function Correct. Fix your old MT4 code. Fixing the warnings will save you hours of debugging, but you must understand the differences.
In mql4 its Array, Count, start then
In mql5 its Array , start, count.
This was the problem.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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