Login Page - Create Account

Technical Studies Reference


Moving Average - Weighted

This study calculates and displays a Weighted Moving Average of the data specified by the Input Data Input.

Let \(X\) be a random variable denoting the Input Data, and let \(X_i\) be the value of the Input Data at Index \(i\). Let the Input Length be denoted as \(n\). Then we denote the Moving Average - Weighted at Index \(t\) for the given Inputs as \(WMA_t(X,n)\), and we compute it for \(t \geq n - 1\) as follows.

\(\displaystyle{WMA_t(X,n) = \left. \left(\sum_{i=t-n+1}^t(n - t + i)X_i\right) \middle/ \left(\frac{n(n+1)}{2}\right)\right.}\)

For an explanation of the Sigma (\(\Sigma\)) notation for summation, refer to our description here.

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.

Moving_Average_-_Weighted.28.scss


*Last modified Tuesday, 27th September, 2022.