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-06-25 · base rates recomputed 2026-07-31 · how we test

72
variants of Moving Averages backtested
19.3%
of 121,111 tests beat buy-and-hold
23,368 beat it, 97,743 did not
29.0%
best variant: MA Envelope
522 of 1,799 — its own page has the detail
Base rate

How often Moving Averages beat buy-and-hold

23,368 of 121,111 out-of-sample tests beat simply buying and holding the same asset — 19.3%. On the other 97,743 it did not. That is below the 20.1% rate across all 382 indicators we test (one pooled rate over all 660,005 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 10.3% and 29.0% of the time, and 19.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 Envelope522 / 1,79929.0%0.28
Zero-Lag EMA Cross413 / 1,82322.7%0.23
ZLEMA 10/30 Cross413 / 1,82322.7%0.23
DEMA 20/50 Cross372 / 1,65922.4%0.33
Hull MA Trend400 / 1,83921.8%0.23
Hull MA 10/40 Cross396 / 1,82521.7%0.23
TEMA 20/50 Cross361 / 1,67421.6%0.29
WMA 10/30 Cross374 / 1,75321.3%0.33
Volume-Weighted EMA375 / 1,76321.3%0.26
SMA 15/60 Cross329 / 1,55621.1%0.37
HMA 9/21 Cross390 / 1,84921.1%0.19
Hull MA 20/80 Cross363 / 1,72721.0%0.29
TEMA 10/30 Cross373 / 1,79620.8%0.23
Heikin-Ashi + EMA379 / 1,82520.8%0.28
Pascal's Weighted MA377 / 1,82720.6%0.18
DEMA 10/30 Cross364 / 1,76520.6%0.28
WMA 20/50 Cross334 / 1,62420.6%0.37
EMA 8/21 Cross358 / 1,74120.6%0.34
SMA 10/30 Cross352 / 1,71320.5%0.35
KAMA 10/30 Cross339 / 1,65420.5%0.35
Hull MA 15/60 Cross365 / 1,78220.5%0.26
SMA 5/20 Cross367 / 1,80020.4%0.3
EMA 30 Trend370 / 1,82020.3%0.25
SMA 20/50 Cross319 / 1,57520.3%0.37
EMA 9/26 Cross346 / 1,71420.2%0.35
Hull MA 100 Trend349 / 1,73120.2%0.24
DEMA 30 Trend368 / 1,83420.1%0.15
SMA 10/40 Cross334 / 1,66820.0%0.36
WMA 30 Trend366 / 1,83020.0%0.24
SMA 30 Trend360 / 1,80420.0%0.25
Hull MA 30 Trend365 / 1,83719.9%0.12
Regularized EMA364 / 1,84319.8%0.21
WMA 10/40 Cross338 / 1,71419.7%0.35
WMA 15/60 Cross321 / 1,63319.7%0.36
ZLEMA 30 Trend361 / 1,84219.6%0.12
WMA 20/80 Cross302 / 1,54719.5%0.37
EMA 10/40 Cross319 / 1,64419.4%0.36
Kaufman Adaptive MA357 / 1,84919.3%0.2
KAMA 30 Trend346 / 1,81419.1%0.27
ZLEMA 100 Trend332 / 1,74419.0%0.22
EMA-10 Trend352 / 1,85019.0%0.16
TEMA 30 Trend348 / 1,83019.0%0.09
SMA 20/80 Cross274 / 1,44219.0%0.37
KAMA 100 Trend334 / 1,76119.0%0.31
Chop Zone (EMA-34 angle)317 / 1,70718.6%0.16
EMA 15/60 Cross282 / 1,52418.5%0.37
EMA 20/50 Cross282 / 1,52618.5%0.37
McGinley 10/30 Cross196 / 1,06118.5%0.35
EMA 13/48 Cross293 / 1,59018.4%0.37
EMA Cascade Rider304 / 1,65818.3%0.33
KAMA 200 Trend312 / 1,72218.1%0.33
WMA 100 Trend311 / 1,71918.1%0.29
MA Ribbon300 / 1,67417.9%0.28
TEMA 100 Trend299 / 1,68317.8%0.18
SMA 100 Trend298 / 1,68817.7%0.29
Hull MA 200 Trend288 / 1,64217.5%0.26
EMA 100 Trend298 / 1,71517.4%0.3
DEMA 100 Trend295 / 1,71017.3%0.22
Sine-Weighted MA575 / 3,35417.1%0.24
ZLEMA 200 Trend279 / 1,62817.1%0.24
EMA 20/80 Cross241 / 1,40917.1%0.37
WMA 200 Trend279 / 1,63217.1%0.29
McGinley Dynamic291 / 1,70317.1%0.29
EMA 200 Trend267 / 1,60216.7%0.31
DEMA 200 Trend265 / 1,60716.5%0.24
SMA 200 Trend259 / 1,59816.2%0.29
SMA 50/200 Cross136 / 84516.1%0.38
TEMA 200 Trend246 / 1,55915.8%0.18
McGinley 30 Trend231 / 1,51815.2%0.31
EMA 50/200 Cross121 / 81414.9%0.38
McGinley 100 Trend151 / 1,20712.5%0.32
McGinley 200 Trend111 / 1,07310.3%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.