Kaden407 #: How can I retrieve this number through report history?
"HistorySelectByPosition() creates in a mql5 program a list of orders and a list of deals with a specifiedposition identifierfor further reference to the elements of the list using the appropriate functions. To know the size of the list of deals, use functionHistoryDealsTotal(), the size of the list of orders in the history can be obtained usingHistoryOrdersTotal(). To run through elements of the orders list, useHistoryOrderGetTicket(), for elements of the deals list -HistoryDealGetTicket()."
Ryan L Johnson #: "HistorySelectByPosition() creates in a mql5 program a list of orders and a list of deals with a specifiedposition identifierfor further reference to the elements of the list using the appropriate functions. To know the size of the list of deals, use functionHistoryDealsTotal(), the size of the list of orders in the history can be obtained usingHistoryOrdersTotal(). To run through elements of the orders list, useHistoryOrderGetTicket(), for elements of the deals list -HistoryDealGetTicket()."
How can I retrieve this number through report history?
"HistorySelectByPosition() creates in a mql5 program a list of orders and a list of deals with a specified position identifier for further reference to the elements of the list using the appropriate functions. To know the size of the list of deals, use function HistoryDealsTotal(), the size of the list of orders in the history can be obtained using HistoryOrdersTotal(). To run through elements of the orders list, use HistoryOrderGetTicket(), for elements of the deals list - HistoryDealGetTicket()."