Bar.counted()

The function returns the number of bars that have not changed since the last launch of the indicator

Return value

The number of bars that have not changed since the last run of the indicator

Description

Used in the method onUpdate

Example

let NumberOfCountedBars = Bar.counted();