Login Page - Create Account

Technical Studies Reference

On Balance Open Interest

This study calculates and displays the On Balance Open Interest.

This study can only be used on a Historical Daily futures chart which contains Open Interest data. If it is used on an Intraday chart, then instead it will use the Number of Trades per chart bar data instead of Open Interest data because that is not available in Intraday charts.

Let \(C_t\) be the value of the Close Price at Index \(t\). We denote the value of the On Balance Open Interest at Index \(t\) as \(OI^{(OB)}_t\), and we initialize it to zero internally (that is, \(OI^{(OB)}_0 = 0)\), though this initial value is not displayed as output. We compute \(OI^{(OB)}_t\) in terms of the Open Interest for \(t > 0\) as follows.

\(\displaystyle{OI^{(OB)}_t = \left\{ \begin{matrix} OI^{(OB)}_{t - 1} + OI_t & C_t > C_{t - 1} \\ OI^{(OB)}_{t - 1} & C_t = C_{t - 1} \\ OI^{(OB)}_{t - 1} - OI_t & C_t < C_{t - 1} \end{matrix}\right .}\)


  • This study has no Inputs.


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 Tuesday, 04th May, 2021.