Home / Indicators / Moving Averages
Indicator family

Moving Averages: what they are, and whether they work

A moving average is the mean of the last N prices, recomputed every bar — simple averages weight every bar equally, exponential ones weight recent bars more heavily. Below: every variant we backtested, and how often each one actually beat buying and holding the same asset.

Tested and published by IndicatorEdge · backtest grid generated 2026-11-02 · base rates recomputed 2026-11-03 · how we test

72
variants of Moving Averages backtested
18.3%
of 117,458 tests beat buy-and-hold
21,444 beat it, 96,014 did not
27.2%
best variant: MA Envelope
478 of 1,757 — its own page has the detail
Base rate

How often Moving Averages beat buy-and-hold

21,444 of 117,458 out-of-sample tests beat simply buying and holding the same asset — 18.3%. On the other 96,014 it did not. That is below the 18.9% rate across all 382 indicators we test (one pooled rate over all 642,463 tests we have run, not a mean of the per-indicator rates).

One test is one variant on one asset on one timeframe. We tested 72 variants of Moving Averages, so an asset that carries several of them contributes several tests — this is the family's record across everything we ran, not a count of assets. Those variants are not alike: individually they beat buy-and-hold between 9.7% and 27.2% of the time, and 18.3% is the pooled rate over all of them, not a property every version of this indicator has. The table below gives each one separately. "Beat" means a higher return than holding that same asset over that same window. Measured out-of-sample, on data the setup was not chosen on.

What it looks like

Moving Averages on a real chart

50- and 200-day moving averages on SPYsimple moving averages, 50 and 200 periods · SPY daily, 180 bars to 2026-08-06 · conventional settings, not our tested ones600650700750simple moving averages, 50 and 200 periods · SPY daily, 180 bars to 2026-08-06 · conventional settings, not our tested onesprice200-day50-day
Every variant we tested

Moving Averages variants, ranked by how often they beat buy-and-hold

VariantBeat / tested Beat rateAvg Sharpe
MA Envelope478 / 1,75727.2%0.27
Zero-Lag EMA Cross386 / 1,78221.7%0.23
ZLEMA 10/30 Cross386 / 1,78221.7%0.23
DEMA 20/50 Cross344 / 1,63221.1%0.33
TEMA 20/50 Cross347 / 1,64921.0%0.29
Hull MA 10/40 Cross369 / 1,78220.7%0.23
SMA 15/60 Cross314 / 1,53520.5%0.36
WMA 10/30 Cross351 / 1,72120.4%0.32
Hull MA 15/60 Cross354 / 1,74620.3%0.26
Hull MA Trend362 / 1,79020.2%0.22
Hull MA 20/80 Cross340 / 1,69420.1%0.29
Heikin-Ashi + EMA357 / 1,78420.0%0.28
TEMA 10/30 Cross349 / 1,76219.8%0.23
WMA 20/50 Cross317 / 1,60219.8%0.36
KAMA 10/30 Cross323 / 1,63319.8%0.35
DEMA 10/30 Cross342 / 1,73119.8%0.28
SMA 5/20 Cross349 / 1,76819.7%0.3
SMA 10/40 Cross323 / 1,64419.6%0.36
SMA 10/30 Cross331 / 1,69119.6%0.34
SMA 20/50 Cross302 / 1,55419.4%0.36
Volume-Weighted EMA335 / 1,72419.4%0.26
WMA 10/40 Cross327 / 1,68619.4%0.34
HMA 9/21 Cross348 / 1,79619.4%0.19
EMA 8/21 Cross330 / 1,71219.3%0.34
Pascal's Weighted MA343 / 1,78319.2%0.17
WMA 15/60 Cross308 / 1,61019.1%0.36
WMA 20/80 Cross291 / 1,53319.0%0.36
EMA 30 Trend336 / 1,78318.8%0.26
EMA 10/40 Cross303 / 1,61718.7%0.36
EMA 9/26 Cross315 / 1,68318.7%0.35
Hull MA 100 Trend317 / 1,69718.7%0.24
WMA 30 Trend333 / 1,78718.6%0.24
DEMA 30 Trend333 / 1,78718.6%0.15
Sine-Weighted MA333 / 1,79318.6%0.24
Regularized EMA334 / 1,80018.6%0.21
SMA 30 Trend323 / 1,76818.3%0.25
Hull MA 30 Trend327 / 1,79118.3%0.12
EMA 13/48 Cross284 / 1,57118.1%0.36
KAMA 30 Trend321 / 1,77818.1%0.27
ZLEMA 100 Trend309 / 1,71218.0%0.21
McGinley 10/30 Cross188 / 1,04418.0%0.34
ZLEMA 30 Trend317 / 1,79317.7%0.12
KAMA 100 Trend305 / 1,73217.6%0.31
EMA-10 Trend314 / 1,80217.4%0.17
SMA 20/80 Cross249 / 1,43017.4%0.36
EMA Cascade Rider285 / 1,63717.4%0.32
Kaufman Adaptive MA313 / 1,79917.4%0.2
KAMA 200 Trend294 / 1,69617.3%0.32
Chop Zone (EMA-34 angle)289 / 1,68017.2%0.15
WMA 100 Trend290 / 1,69117.1%0.29
TEMA 30 Trend306 / 1,78717.1%0.09
EMA 20/50 Cross259 / 1,51317.1%0.36
EMA 15/60 Cross257 / 1,50817.0%0.36
DEMA 100 Trend287 / 1,68517.0%0.22
Hull MA 200 Trend268 / 1,61616.6%0.25
SMA 100 Trend274 / 1,66016.5%0.28
SMA 50/200 Cross140 / 85016.5%0.37
MA Ribbon270 / 1,64916.4%0.27
ZLEMA 200 Trend263 / 1,61216.3%0.22
TEMA 100 Trend270 / 1,65716.3%0.17
DEMA 200 Trend254 / 1,58816.0%0.23
EMA 200 Trend253 / 1,58316.0%0.31
EMA 20/80 Cross222 / 1,40415.8%0.36
EMA 100 Trend266 / 1,68715.8%0.3
McGinley Dynamic257 / 1,66715.4%0.28
SMA 200 Trend243 / 1,57815.4%0.29
TEMA 200 Trend235 / 1,54115.2%0.18
EMA 50/200 Cross124 / 81915.1%0.37
WMA 200 Trend239 / 1,60914.9%0.29
McGinley 30 Trend197 / 1,49013.2%0.31
McGinley 100 Trend142 / 1,16712.2%0.32
McGinley 200 Trend100 / 1,0349.7%0.33
The mechanism

What Moving Averages is — and how it's built

A simple moving average (SMA) is the arithmetic mean of the last N closes. An exponential moving average (EMA) applies a smoothing factor of 2/(N+1) to each new bar and retains the rest of its previous value, so weight decays geometrically into the past and nothing ever drops out entirely. A weighted moving average assigns linearly declining weights instead. All three trade the same thing off: a longer window is smoother and slower, a shorter one is noisier and faster.

How it's read. The usual readings are price crossing the average, and a faster average crossing a slower one — the crossover. The slope of the average is itself read as trend direction, and long averages such as the 200-period are widely watched as reference levels irrespective of any signal.

Where it struggles by design. Every moving average lags by construction: it is an average of prices that have already happened, so it cannot turn before price does. In a sideways market price crosses the average repeatedly and crossover readings produce signals in both directions in quick succession.

Origin: In use in technical analysis since at least the early twentieth century; the exponential form was popularised in the 1960s.

Free · no spam

Get the weekly edge report

The best-performing indicator per asset, what changed this week, and the honest caveats — straight to your inbox.