OrderSelect cant work with SELECT_BY_POS in MT5?

To add comments, please log in or register
Simon Yau
45
Simon Yau  
according to the help file,OrderSelect function seems only can select an order by ticket?
Andriy Moraru
1075
Andriy Moraru  
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.
Simon Yau
45
Simon Yau  
Thank you!
Jinsong Zhang
20662
Jinsong Zhang  
OrderGetTicket(), well~
To add comments, please log in or register