I hope I can describe what I am trying to accomplish with a simple example!
Typically if one writes a custom indicator, it gets plotted on a price chart and its data series values are updated on an OnBarUpdate() callback. Suppose, just for example, instead of being updated on the OnBarUpdate(), I have a Timer running and on the Timer event callback, I do a Set() on the indicator's data series? Is this a valid thing to do? And if so, for example if markets are closed and no price bars are getting ticks, would my indicator even plot at all during these off hours? Not that I'd want it to, I just want to learn if I can update the indicator data series outside of and asynchronous to OnBarUpdate() calls i.e. asynchronous to price.
Thanks in advance for any advise and info!
Comment