I'm using either a left mouse click or hot keys to change the starting bar for the calculations of the Series<double>.
This is working fine except that I'm using OnBarUpdate() for calculating the Series<double> which I think is normal procedure but a problem occurs when the market is closed and OnBarUpdate() isn't called. So, when the market is closed the plot doesn't get updated.
I've tried ForceRefresh() but it doesn't trigger the OnBarUpdate().
I'm using OnRender() to process the mouse clicks and I've tried to recalculate the Series<double> and update the display there without success.
Do you have a way to force an OnBarUpdate() event or a different approach to updating my indicator plot so that calculations and display happen immediately instead of waiting for an OnBarUpdate()
Comment