I collect trades in OnMarketUpdate()
then
plot the results in OnBarUpdate()
Is that problematic?
indicator level declarations instantiated State == State.DataLoaded Block { DateTime Time, double Price, int Volume } Blocks = new List<Block>() OnMarketUpdate() { Blocks.Add( new Block() ) } OnBarUpdate() { Blocks.Sum( filter list on date ) }
Thanks!
Comment