Moving Average - Weighted Moving Average

Weighted Moving Average

A weighted average is any average that has multiplying factors to give different weights to data at different positions in the sample window. Mathematically, the moving average is the convolution of the datum points with a fixed weighting function. One application is removing pixelisation from a digital graphical image.

In technical analysis of financial data, a weighted moving average (WMA) has the specific meaning of weights that decrease in arithmetical progression. In an n-day WMA the latest day has weight n, the second latest n − 1, etc., down to one.

The denominator is a triangle number equal to In the more general case the denominator will always be the sum of the individual weights.

When calculating the WMA across successive values, the difference between the numerators of WMAM+1 and WMAM is npM+1pM − ... − pM−n+1. If we denote the sum pM + ... + pMn+1 by TotalM, then

The graph at the right shows how the weights decrease, from highest weight for the most recent datum points, down to zero. It can be compared to the weights in the exponential moving average which follows.

Read more about this topic:  Moving Average

Famous quotes containing the words moving and/or average:

    I have often told you that I am that little fish who swims about under a shark and, I believe, lives indelicately on its offal. Anyway, that is the way I am. Life moves over me in a vast black shadow and I swallow whatever it drops with relish, having learned in a very hard school that one cannot be both a parasite and enjoy self-nourishment without moving in worlds too fantastic for even my disordered imagination to people with meaning.
    Zelda Fitzgerald (1900–1948)

    The average American is a good sport, plays by the rules. But this war is no game. And no secret agent is a hero or a good sport—that is, no living agent.
    John Monks, Jr., U.S. screenwriter, Sy Bartlett, and Henry Hathaway. Robert Sharkey (James Cagney)