Alert when order closes

 

Is there a way to get an alert when an order is closed, either manually or if it hits a limit or stop?

Thanks in advance!!

 
void OnTradeTransaction( const MqlTradeTransaction& trans, const MqlTradeRequest&, const MqlTradeResult& )
{
  if (trans.type == TRADE_TRANSACTION_DEAL_ADD)
    Alert("Hello World!");
}
Reason: