ta.rising
Test whether a series has risen on each of the last n bars.
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.
| Name | Kind | Type | Default | Range | Description |
|---|---|---|---|---|---|
source | Series | number | - | - | The series to read. |
length | Constant | number | - | 1 to 10000 | Window in observed bars. |
Output
| Name | Type |
|---|---|
value | bool |
Warm-up and missing values
- Warm-up
length + 1bars. Names in the warm-up are this operator’s parameters.- Missing values
- false until
length + 1non-na observations have been seen.
Example
ta.rising(close, 3)plotshape(ta.rising(close, 3), style=arrowup, location=belowbar)