How to Select The Last Closed Order?
t0mbfunk:
Loop through all he closed orders selecting them one by one, check the OrderCloseTime() time and remember the OrderTicket() when you find an order with a larger/newer OrderCloseTime() when you get to the end of the loop you have the ticket for the most recently closed Order.
Hi!
So how do I do that?
Thank you, thats exactly what I needed.
Hi!
So how do I do that?