Invalid Expiration no matter what i do trying pending order. Error 10022
See the following topic about B3: Retcode Error 10022 MT5 Robot
Thanks.
Now it is returning 10015 Invalid Price for ALL combinations of price/sl/tp.
I am guessing this procedure does not accept orders of type ORDER_TYPE_BUY_STOP_LIMIT or ORDER_TYPE_SELL_STOP_LIMIT.
For other pending order types it´s working.
See guidance on ORDER_TYPE_BUY_STOP_LIMIT and ORDER_TYPE_SELL_STOP_LIMIT: Error 10022 with pending order WINV16
Thank you very much!
It´s now working with both ORDER_TYPE_BUY_STOP_LIMIT and ORDER_TYPE_SELL_STOP_LIMIT.
Salvou!. Valeu!
You are welcome!! 👍😊
I am trying to post a pending Orderasync on a DEMO account but no matter i do the error persist.
The symbol specification says Order Expiration : TODAY
Here goes my code and tries:
I don´t need to set expiration. I am setting it cause i got error.
Using OrderOpen it works OK(without expiration set).
Any hint?