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.
I get the error:
2019.01.02 23:58:00 PlaceOrder: error 4756, retcode = 10013
4756 : Trade request sending failed
10013: Invalid request
Anyone an idea why this fails??
returns "PlaceOrder: error 4756, retcode = 10013"
vars are:
req.action = NUM_TRADE_REQUEST_ACTIONS::TRADE_ACTION_SLTP
req.symbol = EURUSD
req.magic = 120115
req.volume = 10
req.sl = 2.2685200000000001
req.tp = 1.13425
req.type = ENUM_ORDER_TYPE::ORDER_TYPE_BUY_LIMIT
req.price = 1.13426
req.comment = "com12"
req.type_filling= ENUM_ORDER_TYPE_FILLING::ORDER_FILLING_FOK
req.type_time = ENUM_ORDER_TYPE_TIME::ORDER_TIME_SPECIFIED
req.expiration = D'2019.01.02 23:58:10';