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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.