cjduke:
Here is the Code
The code above as part of the EA compiles and has no errors. In fact when I run it on the demo server it both order modify(adjust stops) and partial close
run without any errors (on an ECN account). However once on the trading (live) server I get and error 10006 for the return code on the partial stops . in both cases the GetLastError() returns 0
spoken to the brokers, the Customer support are not of much help.
does any one have an ideas
Regards
Thanks
Duplicate of
https://www.mql5.com/en/forum/19197

what does result code 10006 suggest?
- 2014.01.29
- www.mql5.com
I am using CTrade class and sending a buylimit request. but I get the result of 1006! I am using this to get the result code: Print(trade...

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
Here is the Code
The code above as part of the EA compiles and has no errors. In fact when I run it on the demo server it both order modify(adjust stops) and partial close
run without any errors (on an ECN account). However once on the trading (live) server I get and error 10006 for the return code on the partial stops . in both cases the GetLastError() returns 0
spoken to the brokers, the Customer support are not of much help.
does any one have an ideas
Regards
Thanks