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
Forum on trading, automated trading systems and testing trading strategies
Tortured by the error there are no trading operations
Aleksandr Kononov, 11/20/20/07 7:46 PM
Here's how I went through the validation. An Expert Advisor without stops and order modifications, but on all timeframes .
The validator issued error 131 (wrong lot) and there were no trade operations. This is my first advisor, so there were probably all the mistakes that were possible.
First, I added all the comments in English to the trading function checks. that is, if the Expert Advisor does not trade, it should issue an error in Print ().
I also added a free margin check and removed all ExpertRemove (), but that did not help, the errors were the same.
Then I made several changes at once and it is not clear which of this helped.
Clearing errors at the beginning and at the end of the advisor's work, checking the availability of quotes on all TFs
and changed the lot calculation for all cases if the step is (0.1), (0.01) and even (0.001)
in the end, we can say that it quickly turned out to fix everything, only 2 days and about 10 attempts
Forum on trading, automated trading systems and testing trading strategies
Tortured by the error there are no trading operations
Nauris Zukas , 2021.11.22 18:30
Still, I found a problem, by default in the input parameters there is a limit on the maximum lot of positions.
This did not skip opening positions if SYMBOL_VOLUME_MIN in the validator is 0.20. It is impossible for the validator to set by default such a small limit on the maximum lot of positions.
thanks master, i will try again
sete
after I called Getlasseror Ondeinit, an Allert error 4200 appeared when EA was uninstalled....???
unsolved
I tried uploading my EA for sale, but I'm getting an error message saying "please recompile your product with new compiler".
Please what do I do?
Some more codes (something more ti check in the code to be validated):
Forum on trading, automated trading systems and testing trading strategies
I create a theme for the Developers to see!
Valeriy Yastremskiy , 09/2007 07:34 PM
I already wrote that in the new requirements - it is mandatory to check for the sufficiency of funds, and if they are insufficient so the work of the EA should be stopped. If the work of EA does not stop so there is the validator error (no trade operations ).More -
----------------
This post #14 where I collected some decisions.
and the following threads:
Forum on trading, automated trading systems and testing trading strategies
Please help me fix this problem. no trading operations
Sergey Golubev, 2021.03.12 09:39
read the following threads for possible fixing decisions:
and
MQL5 need to modify the way it tests the products before they get uploaded, I can't believe there is no change from 10 years till now. I have much EAs and indicators that i made and couldn't upload them just because of this problem.