what happened to the last order?

 
How can I check to see what has happened with my last order, whether it has hit the TP or the SL or whether it's been closed and I need to know if it's still open as well.
 

If your broker uses comments to indicate TP or SL exits, then you can use this :-

https://www.mql5.com/en/articles/1399

 
 
Thank you guys!
Reason: