I've created an addon with OnExecutionUpdate event. But when my addon is opened, and i compile another indicator/strategy or whatever, my addon is compiled too and my OnExecutionUpdate event seems to be duplicated.
Is there a method to avoid external compilation or unsubscribe to OnExecutionUpdate during compilation ?
Actually, i'm using "Closing" method to unsubscribe to ExecutionUpdate, but this is called only at addon window close.
Thanks
Comment