I see Bars.BarsSinceNewTradingDay always starts at 0 at each new trading session. Is that expected or I have misconfigured something? According to the documentation I assume it should start at 1 (not 0) as it says "
Definition
Returns the number of bars elapsed since the start of the trading day relative to the current bar processing.
Property Value
An int value representing the number of bars elapsed." Even the example seems wrong.

Comment