chinaski:
If open position is reduced or PositionSelect(symbol) returns false.Hello,
assume i do cycle over pending- or history orders. how do i know an order is intended as CLOSE-order ?
Thank you
Hello,
thank you for this workaround. I wonder why such orders can't have a position id.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
- www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5

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
Hello,
assume i do cycle over pending- or history orders. how do i know an order is intended as CLOSE-order ?
Thank you