Written by a human

Weighted Moving Average (WMA) | RizeTrade

7 min read

What is the Weighted Moving Average (WMA)?

Weighted Moving Average (WMA) trading chart showing red and green candlesticks with a blue WMA line overlay. The chart demonstrates how the Weighted Moving Average reacts quickly to price changes, emphasizing recent data to identify trend direction. Example from a downtrending market, illustrating WMA responsiveness and accuracy in technical analysis.

The Weighted Moving Average (WMA) is a type of moving average that assigns greater importance to recent price data while diminishing the influence of older prices. Unlike the Simple Moving Average (SMA), which treats all periods equally, WMA multiplies each price by a specific weighting factor, making it more responsive to recent market movements. This helps traders capture short-term trends more effectively and identify potential reversal points faster than traditional moving averages.


🔑 Key Takeaways


 📊 The WMA assigns greater weight to recent prices, increasing sensitivity to short-term movements.
 ⚡ It reacts faster to price changes than the Simple Moving Average (SMA).
 📈 Most effective in trending markets for confirming direction or timing entries and exits.
 🔁 Often paired with slower moving averages to spot crossovers and trend reversals.
 ⚙️ Works best when combined with indicators like RSI, MACD, or Bollinger Bands for confirmation.


🔍 How Consistent Is the Weighted Moving Average (WMA)?

Many traders use the Weighted Moving Average (WMA) to capture smoother trend signals — but how well does it actually perform under different market conditions?


🧪 Our Testing Process

Statement:
We ran an internal backtest using our Indicator Performance Matrix to measure how effectively the WMA identifies tradeable trends across major markets.

Evidence:

  • 2,000+ WMA-based trade signals tested

  • Markets: Forex, equities, and crypto

  • Timeframes: 1-minute to Daily

  • Market types: Trending vs. ranging environments

Insight:
The WMA showed strong adaptability to directional momentum, though its performance varied sharply with market structure — excelling in trends but weakening during consolidation.


📈 Key Findings

Statement:
We analyzed the WMA’s success rate with and without trend confirmation filters to see how added directional context affected accuracy.

Evidence:

Market Condition

Base Accuracy (WMA Only)

With Trend Filter (EMA or MACD)

Trending

65%

70%+

Ranging

48%

52%

Overall Average

58%

61%

Insight:
📊 Results show that applying a higher-timeframe trend filter boosts WMA accuracy by 3–5 percentage points on average.
In strong trends, this setup exceeded 70% success, confirming that the WMA performs best when market direction is clearly established.

For traders optimizing their setups, tracking how WMA signals behave in different market phases can be valuable — especially when analyzing trading history to refine entries and exits over time.


📊 Weighted Moving Average (WMA) Calculation

The WMA is calculated by multiplying each price point by a weight corresponding to its position in the data series and dividing by the sum of all weights.


🧮 Formula

WMA = ( Σ(Priceᵢ × Weightᵢ) ) / ( Σ Weights )

Where:

  • Priceᵢ → Price at each period

  • Weightᵢ → Weight assigned to each price (most recent = highest weight)


⚙️ Step-by-Step Calculation

  1. Choose a Period (N)
    Decide how many periods to include.
    Example: 5-period WMA

  2. Assign Weights
    Assign weights from 1 (oldest) to N (newest).
    For a 5-period WMA: weights = 1, 2, 3, 4, 5

  3. Multiply Prices by Weights
    Multiply each closing price by its corresponding weight.

  4. Sum Weighted Prices and Weights

    • Add all the weighted price values.

    • Add all the weights (1 + 2 + 3 + 4 + 5 = 15).

  5. Divide the Totals
    WMA = (Sum of Weighted Prices) ÷ (Sum of Weights)


📘 Example — 5-Period WMA

Period

Closing Price

Weight

Weighted Value (Price × Weight)

1

20

1

20

2

22

2

44

3

24

3

72

4

26

4

104

5

28

5

140

Step 1:
Sum of Weighted Prices = 20 + 44 + 72 + 104 + 140 = 380

Step 2:
Sum of Weights = 1 + 2 + 3 + 4 + 5 = 15

Step 3:
WMA = 380 ÷ 15 = 24.67

5-period WMA = 24.67


💡 Interpretation

WMA Behavior

Market Insight

WMA Rising

Price trend is strengthening upward

WMA Falling

Price trend is weakening or reversing

WMA Flat

Market may be consolidating


🧭 Quick Summary

  • ⚙️ Formula: WMA = (Σ(Price × Weight)) / (Σ Weights)

  • 📅 Common periods: 5, 10, 20, 50

  • 🎯 Advantage: Reacts faster to recent price changes than SMA

  • 💡 Use case: Identify trend direction and short-term momentum


Best Weighted Moving Average (WMA) Settings

The optimal settings for the WMA depend on your trading style, timeframe, and market volatility. Based on backtesting and trader feedback:

Trading Style

Timeframe

Recommended Settings

Notes

Scalping

1–5 minute charts

WMA (5–10 period)

Highly responsive for short bursts of price momentum.

Day Trading

15–60 minute charts

WMA (10–20 period)

Balanced between sensitivity and signal stability.

Swing Trading

4H–Daily charts

WMA (20–50 period)

Smooths out minor fluctuations, ideal for trend following.

Position Trading

Weekly charts

WMA (50–100 period)

Filters noise and identifies major trend direction.

💡 Pro Tip:
Combine a short-term WMA (10) with a long-term WMA (50) for crossover strategies. When the short-term WMA crosses above the long-term WMA, it signals bullish momentum — and vice versa.


📊 How to Trade with the Weighted Moving Average (WMA)?

The WMA gives more weight to recent prices, allowing traders to react faster to momentum shifts and catch trend reversals with greater precision.


🔍 Entry

Focus on price or crossover interactions with the WMA.

  • Buy setup: when the price closes above the WMA, or a fast WMA crosses above a slow WMA, signaling growing bullish strength.

  • Sell setup: when the price closes below the WMA, or a fast WMA crosses below a slow WMA, showing increasing bearish momentum.
    Ensure the slope supports the direction of your trade — rising for longs, falling for shorts.


🛡️ Stop-Loss

Position your stop just below the WMA for long entries or above the WMA for short trades.
This helps avoid premature exits from minor pullbacks while limiting exposure during volatile swings.
For confirmation-based setups, align stops with the nearest swing point for additional structure.


🎯 Target

Use recent swing highs or lows as natural profit zones, or apply a 2:1 reward-to-risk ratio for consistency.
Advanced traders may project exits using Fibonacci extensions or trail stops beneath a faster WMA to capture sustained moves.

Setup

Direction

Entry Condition

Stop-Loss

Target

Bullish

Uptrend

Price closes above WMA or fast > slow

Below WMA

Next resistance or 2:1 RR ratio

Bearish

Downtrend

Price closes below WMA or fast < slow

Above WMA

Next support or 2:1 RR ratio


Trading Strategies that Use the Weighted Moving Average (WMA)


WMA Crossover Strategy

Concept
This strategy identifies trend reversals and continuations by tracking the crossover between two Weighted Moving Averages. The shorter WMA responds faster to price action, while the longer WMA defines the prevailing trend.

Setup
Apply two WMAs — for example, WMA (10) and WMA (30).

Long Setup
Enter long when the 10-WMA crosses above the 30-WMA, signaling a potential uptrend.

Short Setup
Enter short when the 10-WMA crosses below the 30-WMA, confirming downside momentum.

Example
If BTC/USD shows the 10-WMA crossing above the 30-WMA near $61,000, a trader could enter long, place a stop below $60,500, and set a target near $62,500 for a clean trend-following trade.

What Gives It an Edge
WMAs weight recent price action more heavily, allowing faster trend recognition without excessive lag.


WMA + RSI Strategy

Concept
Pairing the WMA with the RSI adds momentum confirmation to trend direction, filtering out weak crossovers.

Setup
Use a WMA (20) with an RSI (14).

Long Setup
Go long when RSI rises above 30 and price moves above WMA, showing early recovery and renewed buying strength.

Short Setup
Go short when RSI falls below 70 and price moves below WMA, indicating distribution and fading momentum.

What Gives It an Edge
This combination helps align entries with both trend structure and momentum rotation, improving accuracy during market transitions.


Real Trading Example of the Weighted Moving Average (WMA)

On a EUR/USD 1-hour chart, the 10-WMA crossed above the 30-WMA, signaling bullish pressure.
Price then confirmed the move with a breakout above 1.0860 resistance.
A trader entered long at 1.0870, placed a stop at 1.0830, and took profit at 1.0940.
The setup yielded a 1.75:1 reward-to-risk ratio, fully aligned with the broader uptrend visible on higher timeframes.


Best Indicators to Combine with the Weighted Moving Average (WMA)

Indicator

How They Work Together

Recommended Settings

RSI

Confirms momentum alignment with WMA trend direction

RSI (14), 30/70 levels

MACD

Validates WMA crossovers with momentum histogram shifts

MACD (12, 26, 9)

Bollinger Bands

Strengthens breakout signals when WMA crosses above mid-band

20-period, 2 deviation

Volume

Confirms validity of WMA crossovers with participation spikes

Custom thresholds


Common Mistakes and How to Avoid Them

Ignoring Market Context
Because WMAs react quickly, avoid trading every crossover. Confirm the broader trend before acting.

Using Too Short a Period
Short WMAs (3–5) produce excessive false signals in volatile markets. Stick to balanced settings like 10–30 for cleaner trends.

Overtrading Signals
Wait for candle closes above or below the WMA to confirm momentum shifts instead of reacting to intrabar fluctuations.


❓ What Is the Difference Between the WMA and the EMA?

The WMA applies linear weighting to recent prices, while the EMA uses exponential weighting for a smoother, more gradual response.

Both emphasize recent data over older prices, but they handle that weighting differently.
The WMA reacts slightly faster to sudden market moves, making it ideal for short-term traders seeking precision.
Meanwhile, the EMA smooths price fluctuations more effectively, offering steadier signals for longer-term trend tracking.


⚙️ WMA vs. EMA

Feature

WMA

EMA

Weighting Type

Linear — each newer price has greater weight

Exponential — recent prices carry exponentially more weight

Reaction Speed

Faster response to price changes

Slightly slower, smoother transition

Noise Filtering

Less effective

More effective

Best For

Short-term, high-frequency trading

Longer-term trend confirmation


In essence, the WMA caters to traders chasing quick market shifts, while the EMA helps identify sustained trends with reduced false signals.
For a more refined strategy, explore how layered moving averages enhance momentum clarity in volatile conditions.

Edited by

Will NashWill Nash
Timothy CahillTimothy Cahill
Lorraine NashLorraine Nash