Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.volume_row.has_buy_imbalance
On this pageSignatureParametersReturnsExample

Data requests / Reference

alerta.volume_row.has_buy_imbalance

TradingView-compatible spelling: volume_row.has_buy_imbalance, runs without warnings

Whether the row's buy volume is at least imbalance_percent / 100 times the sell volume of the row BELOW it (the diagonal comparison of a footprint chart). A zero on either side is no imbalance, so the bottom row never has one.

alerta.volume_row.has_buy_imbalance(id) → series bool

Parameters

NameTypeRequiredDefaultDescription
idvolume_rowYes—A row of a footprint.

Returns

series bool

Example

alerta.volume_row.has_buy_imbalance
indicator("POC buy imbalance")footprint fp = request.footprint(10, 70, 300)plot(na(fp) ? na : (fp.poc().has_buy_imbalance() ? 1 : 0), "POC buy imbalance")

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.