Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.footprint.get_row_by_price
On this pageSignatureParametersReturnsExample

Data requests / Reference

alerta.footprint.get_row_by_price

TradingView-compatible spelling: footprint.get_row_by_price, runs without warnings

The row holding a price (down_price < price ≤ up_price), or na outside the bar's rows.

alerta.footprint.get_row_by_price(id, price) → volume_row

Parameters

NameTypeRequiredDefaultDescription
idfootprintYes—A footprint from request.footprint().
priceseries floatYes—The price to look up.

Returns

volume_row — na outside the bar's rows

Example

alerta.footprint.get_row_by_price
indicator("Delta at the close")footprint fp = request.footprint(10)volume_row atClose = na(fp) ? na : fp.get_row_by_price(close)plot(na(atClose) ? na : atClose.delta(), "Delta at the close")

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.