Download MetaTrader 5

Need help with Order History to get the last order?

To add comments, please log in or register
All articles are available from MetaTrader 5. Contribute your own one!
Neal_Van
327
Neal_Van 2016.07.11 21:34 
Is there a way to get the last order in order history?
Carl Schreiber
6587
Carl Schreiber 2016.07.12 05:49  
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