I am developing a custom BarType and found that the first time I load a chart the Add method was called many times. However, if I press F5 to reload the NinjaScript, the BarType.Add method is not called at all. If I restart Ninja and create a new chart, it still does not get called again (for the exact same data).
It is as if, Ninja had already built the bars, stored them somewhere else so it did not have to rebuild them again. If this is true, does anyone know how to force Ninja to rebuild the bars?
My BarType is time based. I discovered this while not connected to a datafeed.
I know that coding a custom BarType is not supported by Ninja, so I am hoping another developer may be able to provide some guidance.
Thanks for any input at all.
Gary
Comment