However, I'm using an indicator which doesn't function properly if it's fed tick data.. It needs to only receive closed bars, and gets messed up if it's updated on every tick of the current open bar.
I only want the indicator to update on bar close.
How can I fix this situation?
UPDATE: Solved. I created a custom data series of bar closes and just use that for the indicator's input, and I update that series in OnBarUpdate if IsFirstTickOfBar.

Comment