All deals from an order
Henrique Vilela:
To get all deals from an order we can go though the whole History selecting the ones that has an DEAL_ORDER equals to our order ID.
if (HistorySelect(HistoryOrderGetInteger(OrderTicket, ORDER_TIME_SETUP), HistoryOrderGetInteger(OrderTicket, ORDER_TIME_DONE)))
Any more efficient way to do that? We have a HistorySelectByPosition, but I miss a HistorySelectByOrder or something like that.
No.
To get all deals from an order we can go though the whole History selecting the ones that has an DEAL_ORDER equals to our order ID.
Any more efficient way to do that? We have a HistorySelectByPosition, but I miss a HistorySelectByOrder or something like that.