Home >> (Table of Contents) Studies and Indicators >> Technical Studies Reference >> On Balance Volume - Short Term
Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
On Balance Volume - Short Term
Description
This study calculates and displays the On Balance Volume over a specific length of bars.
Let Ct be the value of the Close Price at Index t. We denote the Signed Volume at Index t as V(±)t, and we initialize this quantity to zero (that is, V(±)0=0). We compute the Signed Volume for t>0 in terms of the Volume as follows.
V(±)t={VtCt>Ct−10Ct=Ct−1−VtCt<Ct−1Let the Length Input be denoted as n. We denote the On Balance Volume - Short Term for this Input at Index t as V(OB)t(n), and we describe the calculation of this quantity below.
For 0≤t<n, V(OB)t(n) is calculated internally as follows. These values are not displayed as output.
V(OB)t(n)={0t=0V(OB)t−1(n)+V(±)t0<t<nThe above formula is equivalent to V(OB)t(n)=V(OB)t, where V(OB)t is the On Balance Volume. That is, for 0≤t<n, the On Balance Open Volume - Short Term is equivalent to the ordinary On Balance Volume.
For t≥n, V(OB)t(n) is calculated as follows. These values are displayed as output.
V(OB)t(n)=V(OB)t−1(n)+V(±)t−V(±)t−nInputs
Spreadsheet
The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.
Open it through File >> Open Spreadsheet.
*Last modified Friday, 24th January, 2025.