![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
I tried it. After replaced Ontick() with OnStart() then it passed. But when I tried with Ontick() the second time it failed. Am I missing something? Do I have to submit when it passed and the try to with a different file name? This solution sounds strange but if it works then I am speechless :D
Replace OnTick, send for validation. When it's passed, replace OnTick back and send the file with different name again.
We were shocked, but it worked.
Replace OnTick, send for validation. When it's passed, replace OnTick back and send the file with different name again.
We were shocked, but it worked.
It did not worked. I tried exactly the you way you said. Tried even few times. No lucks.
https://www.mql5.com/ru/forum/312005/page2#comment_11478327
Comment #16 -
The solution is really weird but has successfully worked for me. Thanks.
The solution is really weird but has successfully worked for me. Thanks.
Can you please explain how did you proceed step by step?
Can you please explain how did you proceed step by step?
Just two simple steps:
Replace OnTick with OnStart: passed the validation.
Now replace OnStart with OnTick: passed the validation and published.
I didn't change any file name.
Just two simple steps:
Replace OnTick with OnStart: passed the validation.
Now replace OnStart with OnTick: passed the validation and published.
I didn't change any file name.
Okey I will try one more time.
Just two simple steps:
Replace OnTick with OnStart: passed the validation.
Now replace OnStart with OnTick: passed the validation and published.
I didn't change any file name.
Not working for me.
Not working for me.
Perhaps You have a problem in something else, please post a screenshot of the error
In the screenshot you published, the EA does not have enough money, this situation must be properly processed and warn the userPerhaps You have a problem in something else, please post a screenshot of the error
In the screenshot you published, the EA does not have enough money, this situation must be properly processed and warn the userAfter checking this function on every places where my EA tries to submit trades I realize the "Not Enough Money" error was not there anymore but then it started to show new error which is Log File Size Exceeded
Avoid endless loops of trying to order / printing to the logfile.
The answer should be self explanatory, when it say's that your logfile becomes to big how about trying to solve that first ?