ta.falling() - Pine Script Function
ta.falling()
Section titled “ta.falling()”Overview
Section titled “Overview”Test if the source series is now falling for length bars long.
Syntax
Section titled “Syntax”ta.falling(source, length) → series boolParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| source | series int/float | Series of values to process. |
Returns
Section titled “Returns”true if current source value is less than any previous source value for length bars back, false otherwise.
Remarks
Section titled “Remarks”- na values in the source series are ignored; the function calculates on the length quantity of non-na values.