int FillingMode=(int)SymbolInfoInteger(_Symbol,SYMBOL_FILLING_MODE);
and it returned "2", which means:
ORDER_FILLING_IOC
This mode means that a
trader agrees to execute a deal with the volume maximally available in
the market within that indicated in the order. In case the the entire
volume of an order cannot be filled, the available volume of it will be
filled, and the remaining volume will be canceled.
Now:
Does that mean, that if I want to buy for example EURUSD for 0.01Lot, it could still be possible that the order could be executed for more than 0.01Lot?
Isnt that extremely risky and completely far away from Money management?
What else can I do if i only want to buy for 0.01Lot
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.
2019.02.25 19:46:41.976 2015.09.02 10:08:40 failed market sell 0.01 EURUSD sl: 1.12929 tp: 1.12031 [Unsupported filling mode]
I checked it via
and it returned "2", which means:ORDER_FILLING_IOC
This mode means that a trader agrees to execute a deal with the volume maximally available in the market within that indicated in the order. In case the the entire volume of an order cannot be filled, the available volume of it will be filled, and the remaining volume will be canceled.
Now:
Does that mean, that if I want to buy for example EURUSD for 0.01Lot, it could still be possible that the order could be executed for more than 0.01Lot?
Isnt that extremely risky and completely far away from Money management?
What else can I do if i only want to buy for 0.01Lot