BarsSince
- bars since

Trading system toolbox


SYNTAX BarsSince( ARRAY )
RETURNS ARRAY
FUNCTION Calculates the number of bars (time periods) that have passed since ARRAY was true (or 1)
EXAMPLE barssince( macd() < 0 )
SEE ALSO

References:

The BarsSince function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference