Weighted Moving Average Formula
The weighted moving average formula is a moving average of data that gives more weight to the more recent data in the period and less weight to the older data in the period. This formula smoothes a data series. This makes analyzing volatile data easier.
Chart.DataManipulator.FinancialFormula( FinancialFormula.WeightedMovingAverage, "Period", "Price", "WMA")
This formula takes one required parameter.
- Period for calculating the weighted moving average.
This formula takes one input Y value.
- Price for which the weighted moving average is calculated.
This formula outputs two Y values.
- Weighted moving average.