Appearance
On Balance Volume
Cumulative volume signed by the close-to-close move.
Kind indicator · Drawn in its own pane
Try it
On the chart, press / and choose On Balance Volume under Volume. To change it, copy the source below into the AlphaScript editor.
Inputs
| Input | Type | Default |
|---|---|---|
| Color | color | "#2962FF" |
Source
From packages/alphascript/indicators/obv.as.js.
js
indicator({ name: "On Balance Volume", shortTitle: "OBV", overlay: false, format: "volume" });
plot(ta.obv(), { title: "OBV", color: input.color("Color", "#2962FF", { group: "Style" }) });