Home >> (Table of Contents) Studies and Indicators >> Technical Studies Reference >> 1 Divided by Price
Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
1 Divided by Price
Description
This study calculates and displays the reciprocals of the Open, High, Low, and Close Prices. The reciprocal Prices are displayed as the Main Price Graph.
The 1 Divided by Price study is typically used for currencies. For example, if a currency chart is GBP per USD, then the Price data will be reciprocated to yield USD per GBP. This also works the other way around.
Let \(O_t\), \(H_t\), \(L_t\), and \(C_t\) be the values of the Open, High, Low, and Close Prices, respectively, at Index \(t\).
We denote the values of the reciprocal Open, High, Low, and Close Prices at Index \(t\) as \(O^{(-1)}_t\), \(H^{(-1)}_t\), \(L^{(-1)}_t\), and \(C^{(-1)}_t\), respectively, and we compute them for \(t \geq 0\) as follows.
\(O^{(-1)}_t =\left\{ \begin{matrix} 1/O_t & O_t \neq 0 \\ 0 & O_t = 0 \end{matrix}\right .\)\(H^{(-1)}_t =\left\{ \begin{matrix} 1/L_t & L_t \neq 0 \\ 0 & L_t = 0 \end{matrix}\right .\)
\(L^{(-1)}_t =\left\{ \begin{matrix} 1/H_t & H_t \neq 0 \\ 0 & H_t = 0 \end{matrix}\right .\)
\(C^{(-1)}_t =\left\{ \begin{matrix} 1/C_t & C_t \neq 0 \\ 0 & C_t = 0 \end{matrix}\right .\)
Note: When the High is inverted, it becomes the Low, and when the Low is inverted, it becomes the High.
Another study that may be useful to use is the Multiply Bars By -1 study.
When using the 1 Divided by Price study, the Volume at Price data will not be inverted. This is the data used by the Volume by Price study. To invert the data you need to use the Invert Prices setting instead of using this study.
Inputs
- This study has no Inputs
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 Sunday, 29th January, 2023.