Sidechair

volume_row.sell_volume()

Browse the reference

The sell volume in one footprint row: volume traded at the bid between the row's two prices.

Try it in the editor

volume_row.sell_volume(row) returns the volume in the row that traded as sells, meaning trades that hit the bid. The buy side is volume_row.buy_volume().

Called as a method, row.sell_volume() is the same call. The sum of sell_volume over all rows of a bar is footprint.sell_volume().

Syntax

Pine Script
volume_row.sell_volume(id: volume_row) -> series float
volume_row.sell_volume() -> series float

Arguments

NameTypeDefaultDescription
idvolume_rowrequiredThe volume row to read, from footprint.rows(), footprint.get_row_by_price(), footprint.poc(), footprint.vah() or footprint.val(). In method form, such as fp.delta() or row.delta(), the object before the dot supplies this value.

Returns

series float: The sell volume in the row.

Remarks

  • On Sidechair: not supported yet; the call warns "volume_row.sell_volume() isn't supported yet; that part shows nothing." and returns na. The rest of the script runs.

Example

Pine ScriptPoint of control sell volumeOpen in editor
//@version=6
indicator("Point of control sell volume")
fp = request.footprint(10, 70)
row = na(fp) ? na : footprint.poc(fp)
value = na(row) ? na : volume_row.sell_volume(row)
plot(close, "Close", color.gray)
plot(value, "POC sell volume", color.orange, 2)

See also

Not on Sidechair yet