Moving averages are one of the most popular tools used by active traders to measure momentum. The primary difference between the simple moving average and the weighted moving average is the formula used to create them. For a simple moving average, the formula is the sum of the data points over a given period divided by the number of periods. For example, the closing prices of Apple Inc (AAPL) from June 2026, 2014 were as follows:
Date 
Closing Price of AAPL 
June 26 
$90.90 
June 25 
$90.36 
June 24 
$90.28 
June 23 
$90.83 
June 20 
$90.91 
A 5period moving average, based on the prices above, would be calculated using the following formula:
(P1+P2+P3+P4+P5)/5
P = Period
($90.90+$90.36+$90.28+$90.83+$90.91)/5 = $90.656
Based on the equation above, the average price over the period listed above was $90.66. Using moving averages is an effective method for eliminating strong price fluctuations. The key limitation is that data points from older data are not weighted any differently than data points near the beginning of the data set. This is where weighted moving averages come into play.
Weighted averages assign a heavier weighting to more current data points since they are more relevant than data points in the distant past. The sum of the weighting should add up to 1 (or 100%). In the case of the simple moving average, the weightings are equally distributed, which is why they are not shown in the table above.
For example:
Date 
Closing Price of AAPL 
Weighting 
June 26 
$90.90 
5/15 
June 25 
$90.36 
4/15 
June 24 
$90.28 
3/15 
June 23 
$90.83 
2/15 
June 20 
$90.91 
1/15 
The weighted average is calculate by multiplying the given price by its associated weighting and then summing the values. In the example above, the weighted 5day moving average would be $90.62.
Calculation
((90.9*(5/15))+(90.36*(4/15))+(90.28*(3/15))+(90.83*(2/15))+(90.91*(1/15)))
In this example, the recent data point was given the highest weighting out of an arbitrary 15 points. You can weigh the values out of any value you see fit. The lower value from the weighted average above relative to the simple average suggests the recent selling pressure could be more significant than some traders anticipate. For most traders, the most popular choice when using weighted moving averages is to use a higher weighting for recent values. (For more information, check out the Moving Average Tutorial)
RELATED FAQS

How are moving averages used in trading?
Moving averages are very popular tools used by technical traders to measure momentum. The main purpose of these averages ... 
I keep hearing about the 50day, 100day and 200day moving averages. What do they ...
Whether you are using the 50day, 100day or 200day moving average, the method of calculation and the manner in which the ... 
Are Bollinger Bands® useful for analyzing highly volatile securities?
Discover how the dynamic nature of Bollinger Bands makes them a very useful indicator for securities that have historically ... 
What are the main signals traders use when following the Average Directional Index ...
Learn how the average directional index, or ADX, measures momentum and strength in market trends and how specific signals ...

Mass Index
A form of technical analysis that looks at the range between ... 
Money Flow Index  MFI
A momentum indicator that uses a stock’s price and volume to ... 
OnBalance Volume (OBV)
A momentum indicator that uses volume flow to predict changes ... 
Negative Volume Index  NVI
A technical indicator that relies on changes in a security’s ... 
Accumulation/Distribution
An indicator that tracks the relationship between volume and ... 
Force Index
The Force Index is an oscillator that fluctuates above and below ...