OrderSelect cant work with SELECT_BY_POS in MT5?
according to the help file,OrderSelect function seems only can select an order by ticket?
- Trailing Stop - OrderTakeProfit()
- How do I capture the price at which my order was place?
- OrderSelect() question
You can use OrderGetTicket() to get order's ticket by its index position. Not only it will get you an order's ticket but it will also select the order.
Thank you!
OrderGetTicket(), well~