Home >> (Table of Contents) Studies and Indicators >> Technical Studies Reference >> Detrended Oscillator - DiNapoli
Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
Detrended Oscillator - DiNapoli
This study calculates and displays a DiNapoli Detrended Oscillator for the data specified by the Input Data Input.
Let \(X\) be random variable denoting the Input Data, and let \(X_t\) be its value at Index \(t\). Let \(n\) be the Moving Average Length Input. We denote the Detrended Oscillator - DiNapoli for the given Inputs at Index \(t\) as \(DO_t^{(DN)}(X,n)\), and we compute it in terms of a Simple Moving Average for \(t \geq n\) as follows.
\(DO_t^{(DN)}(X,n) = X_t - SMA_t(X,n)\)This study also displays horizontal lines at levels determined by the Line 1 Value and Line 2 Value Inputs.
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 Monday, 26th September, 2022.