In the documentation, after calling OrderSend(), I can't seem to see an error code for partial fills. Does anyone have any experience with how to detect and correct (ie a further trade to buy what has been missed)?
- Trading Loops?
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- I can't close partial orders using dialog class
After you get a valid ticket number, do an OrderSelect() and compare OrderLots() to what you want.
very few brokers say they do partial fills.
Many thanks!
WHRoeder:
Do you know which broker do partial Fills?
After you get a valid ticket number, do an OrderSelect() and compare OrderLots() to what you want.
very few brokers say they do partial fills.
I was Googling for something unrelated but made the following notes:
mbTrading.com states that commission field is only for a single entry, but ECN brokers have two - on open and close. Therefor they add an extra trade entry in history has a credit/debit at the time of order close.
http://www.mbtrading.com/metatrader4.aspx FAQ states that partial fills are possible on ECN/STP environments https://forum.mql4.com/31514, resulting in multiple ticket IDs.
OANDA MetaTrader4 giving 2 orders in History Pool to Each Order Closed - MQL4 forum https://www.mql5.com/en/forum/137639

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register