Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
When launching a script, an indicator, an Expert Advisor, the names of variables are displayed in the Input Parameters tab
If the #property strict directive is present, the comment is displayed instead of the variable name
When launching a script, an indicator, an Expert Advisor, the names of variables are displayed in the Input Parameters tab
If the #property strict directive is present, the comment is displayed instead of the variable name
IMHO, it is more informative.
Well, then especially for those who didn't know that. See the screenshot, everything is clear there.
There is a glitch in MT4: When the depo is greater than 999999, one digit is missing from the detailed report chart.
If it is over 999999, two digits are missing. Only the top 5 digits are always displayed.
There is a glitch in MT4: When the depo is greater than 999999, one digit is missing from the detailed report chart.
If it is over 999999, two digits are missing. Only the top 5 digits are always displayed.
Did you know that you can set the length of the story? This affects the time it takes to search!
If you set today - there will be less of everything! At midnight will the story be empty? Optimally - the last 3 days.
To the developers: how can you set the depth of history programmatically?
Unlike MQL5, in MQL4 static arrays can change their size.
Is there an error in the help?
//+-------------------------------------------------------+ //| ArrayResize PROBA.mq5 | //+-------------------------------------------------------+ #property strict void OnStart() { int x[7]; int СтарыйРазмер=ArrayRange(x,0); ArrayResize(x,5); int МеньшийРазмер=ArrayRange(x,0); ArrayResize(x,9); int БольшийРазмер=ArrayRange(x,0); Alert("MQL5: СтарыйРазмер = ",СтарыйРазмер, " МеньшийРазмер = ",МеньшийРазмер, " БольшийРазмер = ",БольшийРазмер); }Is there an error in the certificate?
Forum on trading, automated trading systems and testing trading strategies
mt4 build 1066
James Cater, 2017.04.28 16:53
I have found a regression error with initialisation order of static variables within functions
This was working in build 1065. I have reported this to the service desk
2017.04.28 15:42:30.941 TestStatic EURCHF,H1: TestStatic Expected result 103 - Actual result=102
2017.04.28 15:42:30.941 TestStatic EURCHF,H1: TestStatic Expected result 102 - Actual result=1
There's a subtle moment in both languages