Back to Glossary

Weighted Moving Average (WMA)

Weighted Moving Average (WMA) Definition: A Weighted Moving Average assigns explicitly different weights to prices within the calculation window — typically linearly decreasing weights with most recent prices weighted highest — producing an average more responsive than the simple moving average but with different characteristics than the exponential moving average. In a 10-period WMA, the most recent price might carry a weight of 10 while the oldest carries a weight of 1, with the sum of weights (55 for a 10-period WMA) acting as the divisor. WMAs occupy a middle position between SMAs and EMAs in terms of responsiveness, used by traders who want explicit weighting control rather than the recursive exponential decay of EMAs.

What Is a WMA?

A Weighted Moving Average addresses the SMA’s equal-weighting limitation through explicit weight assignment. The SMA treats all prices in the calculation window identically — price from 50 periods ago has equal influence with price from 1 period ago. The WMA solves this by assigning progressively higher weights to more recent prices through a linear progression. The most recent price typically receives the highest weight, with each older price receiving a weight one unit lower than the previous. The structure produces an average that responds more quickly to recent price changes than SMA while using a different mathematical approach than EMA.

The framework occupies a specific niche between SMAs and EMAs. SMAs use equal weights — simplest but slowest. EMAs use exponential decay — fastest but most complex (recursive formula). WMAs use linear weighting — middle responsiveness with transparent calculation that some traders prefer over EMA’s recursive complexity. While EMAs have largely overtaken WMAs in popularity due to MACD’s influence and computerized charting making EMA’s complexity invisible to users, WMAs remain valuable for traders who want explicit control over weighting schemes. The choice between WMA, EMA, and SMA reflects specific analytical preferences rather than absolute superiority.

How Does a WMA Work?

Knowing what WMAs represent is the conceptual half; understanding calculation determines practical interpretation. The WMA formula uses the following calculation: WMA = (Sum of (Price × Weight)) / (Sum of Weights). For a 10-period WMA with linear weights, the most recent price gets weight 10, second most recent gets weight 9, third most recent gets weight 8, and so on through oldest price getting weight 1. The sum of weights from 1 to 10 equals 55, which becomes the divisor. The calculation produces a value that emphasizes recent prices proportionally to their weight assignments.

The application requires understanding WMA behavior across different settings. Short-period WMAs (5–10 periods) react quickly to price changes — useful for very short-term trend identification with less noise than equivalent short-period SMAs. Medium-period WMAs (20–30 periods) balance responsiveness and stability. Long-period WMAs (50+ periods) provide trend reference with faster reaction than equivalent SMAs but slower than equivalent EMAs. The linear weighting structure means WMAs respond predictably to price changes — a $1 price increase produces a specific WMA increase based on the position weight, easier to calculate manually than EMA’s compound exponential weighting.

  1. Select appropriate period — 10 for short-term, 30 for intermediate, 50+ for longer-term.
  2. Apply linear weights — most recent price gets highest weight, oldest gets lowest.
  3. Identify trend direction — price above WMA suggests uptrend, below suggests downtrend.
  4. Watch for crossovers — price crossing WMA, or two WMAs crossing each other.
  5. Combine with other tools — WMA alone produces false signals; confirmation from other tools essential.

Worked example: Consider calculating a 5-day WMA on a hypothetical asset with the following closing prices: Day 1 (oldest) $100, Day 2 $102, Day 3 $101, Day 4 $104, Day 5 (most recent) $106. Apply linear weights: Day 1 × 1 = $100, Day 2 × 2 = $204, Day 3 × 3 = $303, Day 4 × 4 = $416, Day 5 × 5 = $530. Sum of weighted prices: $1,553. Sum of weights: 15. WMA = $1,553 / 15 = $103.53. Compare to 5-day SMA: ($100 + $102 + $101 + $104 + $106) / 5 = $102.60. The WMA at $103.53 reflects greater influence of recent higher prices than the SMA at $102.60 — closer to the most recent price of $106 because of the weighting bias. WMAs systematically track recent price action more closely than SMAs while using transparent linear methodology.

WMA vs. SMA vs. EMA

Aspect SMA WMA EMA
Weighting Equal Linear decreasing Exponential decay
Responsiveness Slowest Medium Fastest
Calculation complexity Simplest Moderate Complex (recursive)
Popular usage Very widespread Niche application Very widespread
Transparency Most transparent Transparent weights Opaque exponential
Best for Long-term trends Custom weighting needs Most trading applications

Why Is WMA Important for Traders?

WMAs provide explicit weighting control that suits specific analytical preferences. Traders who want to know exactly how each price within the calculation window contributes to the result can use WMA’s linear weighting rather than EMA’s recursive exponential weighting. The transparency benefits traders building custom strategies or backtesting specific weighting schemes — easier to verify calculations and adjust parameters with WMA’s straightforward formula.

The framework also produces specific applications in algorithmic trading. Quantitative traders developing custom indicators sometimes prefer WMA’s predictable linear structure for inclusion in larger calculation frameworks. Some custom technical analysis frameworks (Hull Moving Average, Linearly Weighted Moving Average) build on WMA principles rather than EMA — taking advantage of the linear weighting characteristics for specific analytical purposes.

The structural risk and limitation of WMA usage is the indicator’s relative obscurity compared to EMA and SMA. Most charting platforms include WMA as standard indicator, but many traders aren’t familiar with its specific characteristics. Educational resources and trading communities typically focus on SMA and EMA — meaning traders using WMA may face limited reference materials. The trade-off between explicit linear weighting (WMA) and convenience of widely-discussed alternatives (SMA, EMA) often favors the more popular options. On PrimeXBT, traders can apply WMA analysis with broader technical analysis on CFD positions, supported by risk management.

Key Takeaways

  • A Weighted Moving Average assigns explicitly different weights to prices within the calculation window — typically linearly decreasing weights with most recent prices weighted highest.
  • In a 10-period WMA, the most recent price might carry a weight of 10 while the oldest carries a weight of 1, with the sum of weights (55) acting as the divisor.
  • WMAs occupy a middle position between SMAs and EMAs in terms of responsiveness — faster than SMA but using transparent linear weighting rather than EMA’s exponential decay.
  • The 5-day WMA on hypothetical prices ($100, $102, $101, $104, $106) produces $103.53 — closer to the recent $106 than the SMA result of $102.60.
  • The structural risk is relative obscurity compared to EMA and SMA — limited reference materials and educational resources mean WMA users face fewer learning resources.
FAQ section

What's the main difference between WMA and EMA?

Both emphasize recent prices but through different mathematical approaches. WMA uses linear decreasing weights with explicit per-period values (10, 9, 8...). EMA uses exponential decay through recursive calculation that includes all previous prices via the previous EMA value. EMA reacts more quickly to recent changes; WMA provides transparent linear weighting that traders can verify manually. The choice depends on analytical preferences rather than clear superiority.

Why isn't WMA as popular as SMA and EMA?

Historical and practical factors. EMA gained widespread adoption through MACD inclusion. SMA gained popularity through simplicity and 200-day institutional recognition. WMA exists between these — without EMA's MACD significance or SMA's institutional status. Computerized charting has made all three equally accessible, but cultural and educational momentum favors the more widely-discussed alternatives.

Can WMA replace EMA in MACD?

Technically yes, but it wouldn't be standard MACD anymore. The MACD indicator specifically uses EMA calculations (12-period EMA minus 26-period EMA with 9-period signal). Substituting WMAs would create a custom indicator with different behavior characteristics. Some traders experiment with such modifications, but most use standard MACD with EMA inputs and add WMA separately if linear weighting is desired.

How do I calculate WMA manually?

Multiply each price by its weight, sum the weighted prices, divide by the sum of weights. For a 5-day WMA: most recent × 5, previous × 4, third × 3, fourth × 2, oldest × 1. Sum these five values, then divide by 15. The result is the WMA value.

Range Trading
Range Trading Definition: Range trading is a strategy that p...
Pump
Pump Definition: A pump is a rapid, often artificial price i...
Profit Taking
Profit Taking Definition: Profit taking is the systematic pr...
Price Discovery
Price Discovery Definition: Price discovery is the process b...

Live Chat

Contact our support team via live chat.

Help Center

Questions about our services?
Check out our Help Center.

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.