Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.matrix.remove_row
On this pageSignatureParametersReturnsExample

Matrices / Reference

alerta.matrix.remove_row

TradingView-compatible spelling: matrix.remove_row, runs without warnings

Removes the row at index and returns its values as an array.

alerta.matrix.remove_row(id, index) → Array

Parameters

NameTypeRequiredDefaultDescription
idstringYes—Matrix ID.
indexintNo—Row index. Default: the last row.

Returns

Array

Example

alerta.matrix.remove_row
m = matrix.new(2, 2, 0)if barstate.isfirst    matrix.remove_row(m, 0)plot(matrix.rows(m), { title: "rows-", 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.