Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hey there.
Im about to create my own trading class but now i got stucked. It can be only a small error but im not able to find it.
when i call "openPosition" like that:
CTrade trader;
trader.openPosition(ORDER_TYPE_SELL,0.1,_Symbol);
This error appears:
2013.07.03 23:28:40 Trades '1485928': failed instant sell 1.40 AUDCAD at 0.95428 (deviation: 8992421) [Invalid request]
What am i doing wrong ?
Thanks in advance,
Greetings,
Distinctive