ERR_TRADE_SEND_FAILED
4756
Trade request sending failed
However you are not reporting the actual trade error "tresult.retcode", but I can see the following problems already ...
Let's say you are using EURUSD and current ask price is approximately 1.05315. Now lets consider 2 lines of your code:
trequest.price = Ask + (10); // This will give a open price of 1.05315 + 10 = 11.05315 trequest.stoplimit = Ask + (5); // This will give a open price of 1.05315 + 5 = 6.05315
Do you see the problem?
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