Check If Order Limit/Stop is Filled.

 

Hi.

I'm using orders limit and stop as TakeProfit and StopLoss, have a way to check if order stop or limit is filled?

 
lsfratel:

Hi.

I'm using orders limit and stop as TakeProfit and StopLoss, have a way to check if order stop or limit is filled?

https://www.mql5.com/en/docs/event_handlers/ontradetransaction
Reason: