The sell volume in one footprint row: volume traded at the bid between the row's two prices.
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
volume_row.sell_volume(id: volume_row) -> series float
volume_row.sell_volume() -> series floatArguments
| Name | Type | Default | Description |
|---|---|---|---|
| id | volume_row | required | The 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
//@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
volume_row.buy_volumevolume_row.total_volumevolume_row.deltavolume_row.has_sell_imbalancefootprint.sell_volume
Not on Sidechair yet