Weighted Moving Average (WMA)

LearnOct 23, 2025
Timothy Cahill
Weighted Moving Average (WMA)

What is the Weighted Moving Average (WMA) Indicator?

The Weighted Moving Average (WMA) Indicator is a moving average that smooths price while giving more weight to the most recent bars, so it responds faster to current price action than a Simple Moving Average. It is plotted directly on the price chart as a single line, and traders read it through its slope and how price behaves around it (above, below, or crossing). The main purpose is trend direction and dynamic support/resistance with less lag than equal-weight averages.

How is the Weighted Moving Average (WMA) Indicator Calculated?

The WMA is calculated by multiplying each price in the lookback window by a weight that increases for more recent bars, summing those weighted prices, then dividing by the sum of the weights: WMA = sum(w_i × P_i) / sum(w_i), where P_i is the price for bar i and w_i is its weight. Most platforms use linear weights (1 for the oldest bar up to n for the newest), with a default lookback often set to 14 periods; the total weight for linear WMA is n(n+1)/2.

How to Use the Weighted Moving Average (WMA) Indicator in Trading?

To use a WMA in trading, treat it as a trend filter and timing line: a rising WMA with price holding above it defines bullish conditions, and a falling WMA with price holding below it defines bearish conditions. Common, testable ways traders apply it include:

  • Trend bias: only take longs when price is above a rising WMA; only take shorts when price is below a falling WMA.

  • Pullback entries: in an uptrend, buy a pullback that tags the WMA and then closes back above it; in a downtrend, sell a rally that rejects the WMA and closes back below it.

  • Price/WMA crossover: a close above the line signals momentum shifting up; a close below signals momentum shifting down, with fewer false signals when the WMA slope agrees.

  • Two-WMA cross: a fast WMA crossing above a slow WMA confirms acceleration in trend; crossing below confirms deceleration and bearish control.

  • Stops and invalidation: place stops beyond the most recent swing low/high or beyond the WMA “zone” after a pullback entry, because a clean break and hold through the line shows the trend is losing control.

Start Your Trading Journal Today

Track every trade, analyze your performance, and become a better trader.