Chart for .NET / User's Guide / Data Manipulation / Functions / Financial Functions / Moving Averages / Weighted Moving Average

Weighted Moving Average
 Syntax
WMA(values; period)
 Arguments
The 'values' argument must be an array.
The 'period' argument must be a constant greater or equal to 1.
 Result
The result is an array. The first 'period' elements of the result are marked as invalid.
 Description
A Moving Average is an indicator that shows the average value of a security's price over a period of time. A weighted moving average is designed to put more weight on recent data and less weight on past data. A weighted moving average is calculated by multiplying each of the previous day's data by a weight (the weight is the index of the data).
 Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Moving Averages