Skip to content
Algo Trade Analytics Docs

ta.falling() - Pine Script Function

Test if the source series is now falling for length bars long.

ta.falling(source, length) → series bool
NameTypeDescription
sourceseries int/floatSeries of values to process.

true if current source value is less than any previous source value for length bars back, false otherwise.

  • na values in the source series are ignored; the function calculates on the length quantity of non-na values.