rising
forge.tafunctionSince Forge API 1
Functionpython
forge.ta.rising(source: ArrayLike, period: int = 3) -> np.ndarrayTrue when each of the last period bars is above the bar before it.
Parameters
| Name | Type | Default |
|---|---|---|
| source | ArrayLike | |
| period | int | 3 |
source[i-period] < ... < source[i-1] < source[i]. An equal value or a missing value breaks
the run. The result is a true or false array. Example: ta.rising(close, 3).
Classpython
forge.ta.Rising(**inputs: Any) -> NoneTrue after a number of rises in a row.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| source | source | close | |
| period | int | 3 | 1 to 500 |
True when each of the last period bars is above the bar before it: source[i-period] < ... < source[i-1] < source[i]. An equal value or a missing value breaks the run.