accountNow.ExecutionUpdate += OnExecutionUpdate;
accountNow.ExecutionUpdate -= OnExecutionUpdate;
are generating the "Object reference not set to instance of an object" error when executed from within OnStateChange. However (a) the indicator loads anyway and appears to be functioning as expected, regardless, and (b) I am within the same indicator using both lines of code within a dispatcher outside OnStateChange and that does not cause the error.

Comment