The added data-series is a smaller periodicity than the base data-series
I categorize data based on the creation of a new base bar, but I gather data on all of the added data-series bars
I want to limit rendering based on the number of base bars, for example I want to render based on the previous 100 base bars. But as time goes on, this previous 100 bars moves forward - I want to render based on a moving last 100 bars range.
I also want to limit the lower granularity data gathering, which done at the added dataseries periodcity. I only want to summat the lower granularity data that is within this moving last 100 bars range.
My current thought is to do a forcerender() on each new basebar which would seemingly setup the required logical processing I am looking for. This may be CPU heavy.
I also think I may be able to do this in onrender() which leads to my question.
Given a base dataseries and an added dataseries, what drives invovations of onrender() ?
Does every tick of either dataseries invoke onrender() ?
Comment