Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
Momentum
This study calculates and displays the Momentum of the data specified by the Input Data Input.
Let \(X\) be a random variable denoting the Input Data, and let \(X_t\) be the value of the Input Data at Index \(t\). Let the Input Length be denoted as \(n\). The Momentum at Index \(t\) for the given Inputs is denoted as \(M_t(X,n)\), and we compute it for \(t \geq n\). The method of computation depends on the setting of the Momentum Type Input, as decribed below.
If Momentum Type is set to Difference, then \(M_t(X,n)\) is calculated as follows.
\(M_t(X,n) = \displaystyle{X_t - X_{t - n}}\)If Momentum Type is set to Quotient, then \(M_t(X,n)\) is calculated as follows.
\(\displaystyle{M_t(X,n) =\left\{ \begin{matrix} 100\cdot\frac{X_t}{X_{t - n}} & X_{t - n} \neq 0 \\ 0 & X_{t - n} = 0 \end{matrix}\right .}\)Inputs
- Input Data
- Length
- Momentum Type: This custom Input determines whether the Difference or Quotient version of the Momentum formula is used.
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.