Category: Default
Message: Indicator '<name of indicator that is not assigned to a chart>' : Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.
This error comes up once I assign attached indicator (I have few others that do that) to two chart windows. When assigned to just one, the error does not seem to come up. Once I have it on two charts - above error will print every time scripts refresh, sometimes the chart window will stop responding requiring end-task nt8 (application is functional but will not exit).
I am using NT8 8.1.3.0 64-bit
Please take a look at the attached indicator and hopefully you can help me figure out the problem or point me in the right direction. as I have coded similar indicator that has the same problem.

Comment