Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.ta.falling
On this pageSignatureParametersReturnsExample

Utilities / Reference

alerta.ta.falling

TradingView-compatible spelling: ta.falling, runs without warnings

Returns true when source is lower than all previous values in the lookback window.

alerta.ta.falling(source, length) → series bool

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Source series.
lengthintYes—Lookback window.

Returns

series bool

Example

alerta.ta.falling
isFalling = ta.falling(close, 5)plot(isFalling ? 1 : 0, { title: "Falling", pane: "oscillator" })

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.