WMA vs EMA: Which Moving Average Should You Use?

WMA vs EMA is a choice between two ways of favouring recent prices. Both put more weight on the latest bars than a simple moving average does. The weighted moving average (WMA) cuts old prices off completely. The exponential moving average (EMA) lets them fade out slowly. With the same period, the WMA reacts faster.

Faster is not the same as better. We ran the same crossover rules with each average on Bitcoin and Ethereum. The winner changed with the market. This guide shows why, with the numbers.

What Is the Difference Between WMA and EMA?

Both lines are averages of past closing prices. They differ only in how much each past bar counts.

Here is a detail most guides miss. With a 20-period setting, both give the newest close the same weight: about 9.5%. The difference is what happens behind it. The WMA’s weights drop off quickly and stop at bar 20. The EMA keeps a slice of every older bar.

Which Is Faster, WMA or EMA?

The WMA is faster at the same period. A useful way to measure lag is the average age of the prices inside the line.

Average (20 periods)Average age of its dataWhich bars count
SMA9.5 barsLast 20 bars, equally
EMA9.5 barsEvery bar, fading
WMA6.3 barsLast 20 bars, newest most

The surprise is the EMA row. On average lag, a 20-period EMA is no quicker than a 20-period SMA. It only feels quicker because it responds sooner to the newest bar. The WMA genuinely sits closer to price.

If you want an EMA with the WMA’s lag, shorten it. An EMA of about 14 periods has roughly the same average lag as a 20-period WMA. Keep this in mind before you compare the two at “the same” setting.

How Did WMA and EMA Compare in a Backtest?

We built one rule set in Arrow Algo and changed only the type of average. When the fast average is above the slow one, the strategy holds the coin. When it drops below, the strategy sells to cash.

How we tested:

Bitcoin (BTC-USDT)

AverageReturnMax drawdownRound tripsWinning trades
EMA 20/50+232.1%30.8%7533%
SMA 20/50+136.3%35.2%9344%
WMA 20/50+135.1%49.0%11333%
Buy and hold+369.0%

Ethereum (ETH-USDT)

AverageReturnMax drawdownRound tripsWinning trades
WMA 20/50+77.7%50.2%11730%
EMA 20/50+24.8%53.6%8226%
SMA 20/50+15.8%62.9%9839%
Buy and hold+88.6%

These are hypothetical results on past data. They are not a forecast or a recommendation.

What Do the Results Tell You?

Three things stand out.

The WMA always traded the most. It made 113 round trips on Bitcoin against 75 for the EMA. That matches the lag table. A line that sits closer to price crosses more often.

The best average flipped between markets. On Bitcoin the EMA came first and the WMA last. On Ethereum the order reversed. When a market trends in long legs, fewer trades and fewer fees tend to pay off. When it swings hard, faster exits can save more than the extra trades cost. The data fits that pattern, but two coins cannot prove it.

None of them beat buy and hold. A long-only crossover sits in cash during part of every rally. In a strong bull market that costs more than the drawdowns it avoids. The usual case for a crossover is risk control, not higher returns. Even that case is mixed here: on Ethereum every version still fell more than 50% at its worst.

So the honest answer is that neither average is better in general. One backtest on one coin will happily crown a winner that loses on the next. Test both on several markets, and check them out of sample before you trust either. Our guide to in-sample vs out-of-sample testing shows how.

When Should You Use a WMA or an EMA?

Pick by what your strategy needs from the line.

Choose the WMA when:

Choose the EMA when:

Whichever you choose, add a filter before adding speed. A slope rule or a higher-timeframe trend check usually removes more bad trades than switching averages. Our WMA crossover strategy and EMA crossover strategy guides walk through those filters. If you want even less lag, compare the Hull average in our SMA vs EMA vs Hull moving average guide.

What Mistakes Should You Avoid?

How to Test WMA vs EMA in Arrow Algo

You can rebuild this comparison with visual blocks, without code.

  1. Add a Data Watcher block for your pair and timeframe, set to the close price.
  2. Add two WMA indicator blocks, with periods 20 and 50, and connect the close to both.
  3. Add a condition block: fast average greater than slow average.
  4. Connect the true output to a Buy action block and the false output to a Sell action block. Set both to avoid repeat orders.
  5. Run a backtest. Then swap both WMA blocks for EMA blocks and run it again over the same dates.

Compare return, drawdown and trade count side by side. Then repeat on a second pair before drawing conclusions. If you go live, your rules send signals to your own exchange account and the exchange executes them. The backtesting docs and indicator blocks reference cover each step.

For background on how moving averages are built, see Investopedia’s moving average guide and StockCharts’ notes on simple and exponential averages.

What Are the Key Takeaways?

Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.

Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who've made the switch to systematic trading.