Skip to main content

Class: BarsSince

Bars since cond was last true: 0 on the bar it fires, -1 if never (Pine ta.barssince, which returns na there).

Constructors​

Constructor​

new BarsSince(): BarsSince

Returns​

BarsSince

Methods​

update()​

update(cond): i64

Parameters​

cond​

bool

Returns​

i64