Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
DT Oscillator
Description
This study calculates and displays the two Subgraphs of a DT Oscillator for the Price Data.
Let C be a random variable denoting the Close Price, and let Ct be its value at Index t. Let nRSI, nS, nSK, and nSD be the RSI Length, Stochastic Length, SK Length, and SD Length Inputs, respectively.
The first indicator of the DT Oscillator is denoted as DT(SK)t(nRSI,nS,nSK), and we compute it for t≥nRSI as a Simple Moving Average of a Stochastic RSI as follows.
DT(SK)t(nRSI,nS,nSK)=SMAt(100⋅RSI(Stoch)(nRSI,nS),nSK)Note: In the above formula, the Stochastic RSI is computed using a Simple Moving Average.
The second indicator of the DT Oscillator is denoted as DT(SD)t(nRSI,nS,nSK,nSD), and we compute it for t≥nRSI as follows.
DT(SD)t(nRSI,nS,nSK,nSD)=SMAt(DT(SK)(nRSI,nS,nSK),nSD)Note: Depending on the setting of the RSI Average Type and SK Average Type, and SD Average Type, the Simple Moving Averages in the above calculations could be replaced with Exponential Moving Averages, Linear Regression Moving Averages, Weighted Moving Averages, Wilders Moving Averages, Simple Moving Averages - Skip Zeros, or Smoothed Moving Averages.
In addition to the Subgraphs of DT(SK)t(nRSI,nS,nSK) and DT(SD)t(nRSI,nS,nSK,nSD), this study also displays horizontal lines at levels determined by the Upper Line Value and Lower Line 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 Friday, 24th January, 2025.