OnTradeTransaction() in Service

 

Hi, is it possible to have OnTradeTransaction()  in Service?

I have a service that buys and sells (with TP and SP, and I don't need to attached it to a chart), but I am not able to check how the position was closed.

It should have the same behaviour OnTradeTransaction() has in EAs (even if it is attached to one chart it monitors all other charts events).

Thank you.