Hello I have read some threads but im not sure if my code can check properly order close by SL or TP : OrderSelect ( HistoryTotal () - 1 , SELECT_BY_POS , MODE_HISTORY ) ; if ( OrderSymbol () == Symbol ()) { if ( OrderClosePrice () == OrderStopLoss ()) if ( ` sl `== OrderComment () ; { } } the code