Download MetaTrader 5

Need help with Order History to get the last order?

To add comments, please log in or register
Neal_Van
334
Neal_Van  
Is there a way to get the last order in order history?
Carl Schreiber
7364
Carl Schreiber  
yes, just loop through the closed orders, keyword: OrdersHistoryTotal() and its example in the editor's reference.
To add comments, please log in or register