The value area low of a footprint bar: the bottom row of the area holding the chosen share of the bar's volume.
footprint.val(fp) returns the volume_row at the lower edge of the value area, the band around the point of control that holds the percentage of volume set by va_percent in request.footprint().
Called as a method, fp.val() is the same call. Together with footprint.vah() it brackets where most of the bar's trading happened.
Syntax
footprint.val(id: footprint) -> volume_row
footprint.val() -> volume_rowArguments
| Name | Type | Default | Description |
|---|---|---|---|
| id | footprint | required | The footprint to read, from request.footprint(). In method form, such as fp.delta() or row.delta(), the object before the dot supplies this value. |
Returns
volume_row: The row at the bottom of the value area.
Remarks
- On Sidechair: not supported yet; the call warns "
footprint.val()isn't supported yet; that part shows nothing." and returns na.request.footprint()also returns na, so a script that guards with na() runs and shows only its other output.
Example
//@version=6
indicator("Value area low row volume")
fp = request.footprint(10, 70)
value = na(fp) ? na : volume_row.total_volume(footprint.val(fp))
plot(close, "Close", color.gray)
plot(value, "VAL row volume", color.orange, 2)See also
Not on Sidechair yet