bars_since

bars_since(condition)
Parameters
Returns

series[integer]

Returns the number of bars since condition was true. Condition is considered to be false if condition is false, nil or zero