i know how to select last open order and it is possible like this: OrderSelect(OrdersTotal()-1,SELECT_BY_POS); or OrderSelect(LastTicket,SELECT_BY_TICKET); but the problem is: i have many pending orders and i can only get the last order information by its ticket i want to get the order information