errorcode:4756 & resultcode:10006
Reason for errors
ERR_TRADE_SEND_FAILED: 4756: Trade request sending failed
And
10006: TRADE_RETCODE_REJECT: Request rejected
What is included in the script below?
Files:
1.PNG
87 kb
2.PNG
89 kb
3.PNG
9 kb
- why err = Position doesnt exist.
- Help finishing EA, Full Code and specific errors attached
- Need help with my CandleTrail EA
Milad Yarzamn:
Reason for errors
ERR_TRADE_SEND_FAILED: 4756: Trade request sending failed
And
10006: TRADE_RETCODE_REJECT: Request rejected
What is included in the script below?
Don't post screenshot of your code, post the code !
You should better use the CTrade class, instead of using raw trading functions which you can't manage.
And improve your log to include information about your order request, the type, price, current market prices, etc...
Was that done today ? Is your broker allowing to place orders ? by EA ?