Bars.TickCount only works with real-time bars with setting COBC = false. For historical bars or with COBC= true, no information is available. If I am talking about tick volume as a substitute for real volume, I would like to have that information available for the entire chart and not just for the real-time portion of the chart.
Please note the difference: Volume data is accessible for historical bars, and it is accessible, if you run an indicator in COBC = true. The simple reason is that NinjaTrader has a data field for volume for each bar, but no data field for tick volume.
It is a design issue of the historical data base and how bars are built from historical or real-time data.
Currently, I can only determine tick volume via a multi-timeframe indicator which adds a secondary bar series of 1-tick data. I can then try to count the secondary bars. However, this is not easy as the indicator will need to differentiate between the case where the primary bars are built from ticks and where the primary bars are time based. Tick-built bars of the primary series may be closed before the ticks of the secondary bars are registered, if they have identical timestamps. Therefore the multi-timeframe indicator would only work with tick bars, if it is painting back the tickvolume to the prior bar that has already been closed. For minute bars it is possible to determine the tick volume via a multi-timeframe indicator that does not repaint.
In short: Calculating tick volume with NinjaTrader is a pain in the neck. Both tick-built and time-based bars should come with datafields that contain the tick volume, uptick volume and downtick volume.


is "crap" data for quick trading. Use the raw data feed. We have just finished a discussion about how useless IB data is for any kind of active daytrading operation, where knowing the real price is germane to the decision to make a trade.
Leave a comment: