falling

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

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

Parameters

NameTypeDefault
sourceArrayLike
periodint3

Indicator: Falling

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.falling(close, 3).

Classpython
forge.ta.Falling(**inputs: Any) -> None

True after a number of falls in a row.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint31 to 500

True when each of the last period bars is below the bar before it: source[i-period] > ... > source[i-1] > source[i]. An equal value or a missing value breaks the run.