Xceed Chart for WinForms v4.4 Documentation
Welcome to Xceed Chart for WinForms v4.4 / User Guide / Data Manipulation / Functions / Weighted Moving Average
In This Topic
    Weighted Moving Average
    In This Topic

    Syntax

    WMA(A1; period)

    Arguments

    A1 must be an array.
    The 'period' argument must be a constant greater than 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 days' data by a weight (the weight is the index of the data).

    Related Examples

    Windows Forms: Data Manipulation\Functions\Moving Averages