falling
forge.tafunctionSince Forge API 1
Functionpython
forge.ta.falling(source: ArrayLike, period: int = 3) -> np.ndarrayTrue when each of the last period bars is below 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.falling(close, 3).
Classpython
forge.ta.Falling(**inputs: Any) -> NoneTrue after a number of falls 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 below the bar before it: source[i-period] > ... > source[i-1] > source[i]. An equal value or a missing value breaks the run.