![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
But still simplest code of MT4 EA couldn't be passed validation!
See the below simplest trading code
I DON'T KNOW WHAT IS GOING ON!
Your code is missing checks for margin requirements. And you should adjust the volume, not just "prevent" it.
Your code is missing checks for margin requirements. And you should adjust the volume, not just "prevent" it.
But it is giving NO TRADING OPERATIONS in case you are right then some trades could be opened with some errors such as 130
----
In addition, I tried one of my already published EAs with the same validation test but with out any benefit (NO TRADING OPERATIONS!)
But it is giving NO TRADING OPERATIONS in case you are right then some trades could be opened with some errors such as 130
----
In addition, I tried one of my already published EAs with the same validation test but with out any benefit (NO TRADING OPERATIONS!)
I understand that there is no any universal decision for coders.
I found 3 posts (it is in Russian but you can read them with in-built online translator located on the every forum post) -
the posts of the users who fixed their codes to pass validation, and they do not have this issue anymore:
1. -
The validator gave error 131 (wrong lot) and no trading operations. This is my first Expert Advisor, so there were probably as many errors as possible.
-----------------------
2. -
...
-----------------------
3. -
Still, I found a problem, by default, in the input parameters, there is a limit on the maximum lot of positions.
...
post #208
-----------------------
I was reading many posts and threads (on Russian forum for example) related to this "no trading operations" issue, and
I understand that there is no any universal decision for coders.
I found 3 posts (it is in Russian but you can read them with in-built online translator located on the every forum post) -
the posts of the users who fixed their codes to pass validation, and they do not have this issue anymore:
1. -
read post #202 about how this user fixed it for his EA.
-----------------------
2. -
post #203-----------------------
3. -
post #208
-----------------------
BAD NEWS
still problem also with Russian forum
The problem seems from mql5.com not from the programmers/seller