period is missing in BarsPeriod.Value
might save others some time if corrected
.....
Examples
// Calculate only if there is a 100 tick chart or greater
protected override void OnBarUpdate()
{
if (Bars.Period.Id == PeriodType.Tick && BarsPeriod.Value >= 100)
{
// Indicator calculation logic here
}

Comment