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
I try to update the EA version and get an error.
The same EA is in the strategy tester.
I am also writing EAs for MT4 at the same time, everything is OK there. Code for 4 and 5 EAs is the same, the only difference is include file (they are different for 4 and 5).
Last time I updated this EA, it was in January and everything was OK.
Software version - MetaTrader 5 x64 build 2025 started (MetaQuotes Software Corp.)
- Terminal Windows 10 (build 14393) x64, IE 11, UAC, Intel Celeron N2815 @ 1.86GHz, Memory: 1866 / 3967 Mb, Disk: 5 / 35 Gb, GMT+3
This problem has already been raised on the English forum, but it remains unanswered.
Note that the last published expert for MT5 is dated 20 April 2019.
This problem has already been raised on the English forum - it has remained unanswered.
Note that the last published EA for MT5 is dated 20 April 2019.
My problem started on 13 April, I updated two EAs for MT5 in a day on 12 April without any problems. And since April 13 autovalidation does not work. Even those who I updated on April 12 cannot autovalidate from April 13. I think there were some changes in autovalidation from April 12 to April 13 that do not allow to pass the autovalidation procedure.
The validator has no errors :)
The validator just shows that the code provided
PS: By "validator error" I meant the situation when the validator decides my EA is wrong. )))))
I reread the articlehttps://www.mql5.com/ru/articles/2555 once again- didn't find anything "new" there.
The checksSYMBOL_VOLUME_MIN and SYMBOL_VOLUME_MAX always pass, in the case of insufficient funds an error is shown in the Journal,
any advice on what else is wrong? I'm always FOR a friendly interface, but what to do I have no idea. Alert stops the program and waits for user response - and in OnTick this is not always needed. In January it worked, and now it doesn't - it means that some requirements have changed for design (for issuing messages, requirements, etc.). So tell us what those requirements are.
PS: By "validator error" I meant a situation where the validator decides there is an error in my EA. )))))
Reread the articlehttps://www.mql5.com/ru/articles/2555 again - didn't find anything "new" for me there.
The checksSYMBOL_VOLUME_MIN and SYMBOL_VOLUME_MAX always pass, in the case of insufficient funds an error is shown in the Journal,
any advice on what else is wrong? I'm always FOR a friendly interface, but what to do I have no idea. Alert stops the program and waits for user response - and in OnTick this is not always needed. In January it worked, and now it doesn't - it means that some requirements have changed for design (for issuing messages, requirements, etc.). So tell us what those requirements are.
Alert does not stop the programme from running, nor does it wait for anything.
PS: By "validator error" I meant a situation where the validator decides there is an error in my EA. )))))
Reread the articlehttps://www.mql5.com/ru/articles/2555 again - didn't find anything "new" for me there.
The checksSYMBOL_VOLUME_MIN and SYMBOL_VOLUME_MAX always pass, in the case of insufficient funds an error is shown in the Journal,
any advice on what else is wrong? I'm always FOR a friendly interface, but what to do I have no idea. Alert stops the program and waits for user response - and in OnTick this is not always needed. In January it worked, and now it doesn't - it means that some requirements have changed for design (for issuing messages, requirements, etc.). So tell us these requirements.
Example of error handling in OnInit:Advisors: Three fixed steps
Example of error handling in OnInit:Advisors: Three fixed steps
Thank you. I'll try it this way.
Example of error handling in OnInit:EA: Three fixed steps
Vladimir, you make my friend laugh)))
Example of error handling in OnInit:EAs: Three fixed steps
Just for fun, I compiled YOUR EA and sent it for validation - it did NOT pass. ((((((((((((
Just for fun I compiled YOUR EA and sent it for validation - it did NOT pass. ((((((((((((
So there are extra checks in Market that are not in KodoBaz.