Docs

ta.rising

Test whether a series has risen on each of the last n bars.

itm
ta.rising(source, length)

True when the series increased on each of the last length bars.

Parameters

A series parameter takes a value on every bar. A constant parameter must be known before the first bar, such as a number or an input.

NameKindTypeDefaultRangeDescription
sourceSeriesnumber--The series to read.
lengthConstantnumber-1 to 10000Window in observed bars.

Output

NameType
valuebool

Warm-up and missing values

Warm-up
length + 1 bars. Names in the warm-up are this operator’s parameters.
Missing values
false until length + 1 non-na observations have been seen.

Example

itm
ta.rising(close, 3)
itm
plotshape(ta.rising(close, 3), style=arrowup, location=belowbar)