HistoryOrderSelect not working for executed pending order - page 2 12 New comment Nguyen Nga 2017.10.10 19:39 #11 your pending triggered, it become Positions.then you must use PositionSelectByTicket to check, not use HistoryOrderSelect. Martin Bittencourt 2017.10.13 22:14 #12 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 2017.12.07 16:10 #13 Comments that do not relate to this topic, have been moved to "Pending orders issue". 12 New comment
your pending triggered, it become Positions.
then you must use PositionSelectByTicket to check, not use HistoryOrderSelect.
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!