Issue "Unhandled exception: Object reference not set to an instance of an object" appears periodically in the indicator. I cannot find the source. Is this error related only to DrawObject? Or can it relate to any variable that is not defined in the code. For all my DrawObjects, I made a check If A != null. How can I find the problematic place in the code?
The most incomprehensible thing is that I can load the Chart with the same settings 2 times in a row. In one case, the error will be in the other, not. Or vice versa

Comment