Unsupported filling mode (10030). XM Broker , Partially Close Block
-
It happen when use "partially close block" on XM Broker
Please help.
Thank you.

-
Please help me this project very important to me , l have tested on some another broker it work fine , but error happen only on XM Broker.
-
I have already fixed the problem , Now it work fine.
Just add this code on bool CloseTradePartial(int ticket, double lots, double deviation)
-
// filling type
if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_FOK))
request.type_filling = ORDER_FILLING_FOK;
else if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_IOC))
request.type_filling = ORDER_FILLING_IOC;
else if (IsFillingTypeAllowed(symbol, ORDER_FILLING_RETURN)) // just in case
request.type_filling = ORDER_FILLING_RETURN;int success = OrderSend(request, result);
-
-
I added this into the function, I hope this will not break something else
