Get Order Status

 

How to get an order status (I want to check an order has already closed by Take Profit or not) using HistoryOrderSelect() in MQL5 ?


Thanks

 
Please show your attempt if you need coding help.