I get the following error in the log : Error on calling OnRender method on bar 0 : Object not set to an instance of an object.
When OnRender() is called ?
I thought that it was like Plot() in NT7 after all data loaded.
What do I do if I want to render something on the chart only after all data loaded. I cannot use State == State.Realtime because I want to plot even if the market is closed. I cannot use State == State.DataLoaded because my methods use chartScale and they have to be called from OnRender.
Hope you understand my problem here. There is something I am missing.
Comment