After fixing this line I'm still getting error 4756 - The buy order request could not be completed
metqeu:
After fixing this line I'm still getting error 4756 - The buy order request could not be completed
This is easy... just printing out your mresult.retcode and you'll see 10019 whenever you get error 4756.
And 10019 means "There is not enough money to complete the request".
Seng Joo Thio:
This is easy... just printing out your mresult.retcode and you'll see 10019 whenever you get error 4756.
And 10019 means "There is not enough money to complete the request".
print the Getlasterror()
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
Hi guys, I'm trying to learn mql5 language and i'm using on of the tutorials from the mql5 website.
Link: https://www.mql5.com/en/articles/100
When i'm trying to use this ea, I'm getting an error every time it tries to open trade. I do not remember excatly what it says, and i'm not able to test it today as the markets are closed but it was sth like this:
"Trade request could not be executed......"
Any ideas what's wrong with it? I will update this post tomorrow