rising

forge.tafunctionSince Forge API 1
Functionpython
forge.ta.rising(source: ArrayLike, period: int = 3) -> np.ndarray

True when each of the last period bars is above the bar before it.

Parameters

NameTypeDefault
sourceArrayLike
periodint3

Indicator: Rising

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) -> None

True after a number of rises in a row.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint31 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.