Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.lowestindex
On this pageSignatureParametersReturnsExampleNotes

Core / Reference

alerta.lowestindex

Returns the absolute index of the lowest value of source for length bars.

alerta.lowestindex(source, length) → series int

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Series of values to process.
lengthintYes—Number of bars (length).

Returns

series int

Example

alerta.lowestindex
const l_idx = lowestindex(low, 20)

Notes

  • AlertaScript returns absolute bar_index, whereas Pine ta.lowestbars returns offset.

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.