
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 have solved this problem.
Add this code before CheckVolumeValue :
Before :
After :
Regards
Rio Purwanggono
The solution is simple, I just add the code:
iLots = NormalizeDouble(iLots,_Digits);
for the new lot orders
MT4:NormalizeDouble - General - MQL5 programming forum
How to Normalize - Expert Advisors and Automated Trading - MQL5 programming forum
You used NormalizeDouble, It's use is usually wrong, as it is in your case.
MT4:NormalizeDouble - General - MQL5 programming forum
How to Normalize - Expert Advisors and Automated Trading - MQL5 programming forum
Oh I'm sorry, I mean this code:
Test failed with fixed defined lots@ 0.01/0.1 which are external params to my EA.Testing succeeded when i set Lots to 1.0...
maybe that helps some of you...
Test failed with fixed defined lots@ 0.01/0.1 which are external params to my EA.Testing succeeded when i set Lots to 1.0...
maybe that helps some of you...
as far i observed, market validation use multiple setting/server type. Some broker or pair minimum lot order is 0.01 or 0.10 or 1.00. For example minimum lot for crude oil is 1.00 lot.
everything has been tried and nothing seem to work!
Problem is the message is so mysterious! they don't tell you where the error is or what is causing it in the code, nothing at all.
Just same message thrown at you every time!
I have made tons of adjustments to things ralated and not related to what seem to be the problem.
But thus far, same error message, "
there are no trading operations
"
This is no fair!
everything has been tried and nothing seem to work!
This is no fair!"Doesn't work" is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — meaningless.
How To Ask Questions The Smart Way. 2004
When asking about code
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem
We can't see your broken code.
Fix your broken code.
With the information you've provided — we can only guess. And you haven't provided any information for that.
"Doesn't work" is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — meaningless.
How To Ask Questions The Smart Way. 2004
When asking about code
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem
We can't see your broken code.
Fix your broken code.
With the information you've provided — we can only guess. And you haven't provided any information for that.
See the code on the documentation, validator does not work