Download MetaTrader 5

HistoryOrderSelect not working for executed pending order - page 2

To add comments, please log in or register
Nguyen Nga
11438
Nguyen Nga  

your pending triggered, it become Positions.

then you must use PositionSelectByTicket to check, not use HistoryOrderSelect.

Martin Bittencourt
243
Martin Bittencourt  
Nguyen Nga:

your pending triggered, it become Positions.

then you must use PositionSelectByTicket to check, not use HistoryOrderSelect.


IMG you're right! Now it seems it works :) I'll do some extra checking but it seems this was the issue. Thanks!

Alain Verleyen
Moderator
33776
Alain Verleyen  
Comments that do not relate to this topic, have been moved to "Pending orders issue".
12
To add comments, please log in or register