Thanks deysmacro, I will try
I am not sure I made myself clear. E.g when your trade gets stop triggered, how would you know if the system does not fire an event?
You can create a function which detects when a stop is triggered (whatever how you do it), and then send a custom event. This event can then be intercepted with OnChartEvent().