Class: ValueWhen
Value of v when cond was true, occurrence firings back (0 = most
recent, including this bar). na if it has not fired that often yet
(Pine ta.valuewhen).
Constructors
Constructor
new ValueWhen():
ValueWhen
Returns
ValueWhen
Accessors
time
Get Signature
get time():
i64
Bar time (unix seconds) of the value the last update returned; 0 if na.
Returns
i64
Methods
update()
update(
cond,v,occurrence?):f64
Parameters
cond
bool
v
f64
occurrence?
i32 = 0
Returns
f64