Moving Average Indicator: SMA, EMA, WMA and Hull Compared, With Their Lag Measured on Real Prices
What a moving average shows and what it cannot, the formulas of the main types, how many bars each one lags on daily Bitcoin and the S&P 500 ETF, and what the 200-day average actually did on both.

On this page
A moving average is the average price of the last n bars, recalculated on every new bar, so it slides along the chart as a smoothed version of price. It does not predict anything: it tells you the direction of the trend over the period you chose, and it always lags price because it is built from past bars. The main choices are the length and the weighting. A 20-day simple average follows short swings, a 200-day average the long trend; an exponential or weighted average gives more weight to recent bars and turns sooner. Below we measure that lag on real daily prices, so you can see what each choice costs.
SMA, EMA and WMA of the same length on daily Bitcoin

- Price, daily candles (hollow up, filled down)
- SMA(20) (dashed line)
- EMA(20) (solid line, second color)
- WMA(20) (solid line)
The main types of moving average
| Type | How it weights the bars | Effect |
|---|---|---|
| Simple (SMA) | All n closes equally | Smooth, the most lag for a given length |
| Exponential (EMA) | Each bar by a factor 2 / (n + 1), older bars decaying geometrically | Turns sooner than an SMA of the same length |
| Weighted (WMA) | Linearly, from 1 for the oldest bar to n for the latest | Lagged as little as the EMA or less in our measurement |
| Smoothed (SMMA) | Like an EMA with a factor 1 / n | Very slow; used by Wilder's indicators and the Alligator |
| Hull (HMA) | Weighted averages combined to cancel most of the lag | Fastest, but noisier; see the Hull moving average |
Other designs answer the same trade-off between smoothness and lag in other ways: the Arnaud Legoux moving average, the McGinley Dynamic and the volume-weighted average.
The difference between the types is only in how much each past bar counts. Drawn for the same length, the weights look like this:
How SMA, WMA and EMA weight the last bars

The EMA never quite drops a bar: each one keeps a weight that shrinks by the same factor every bar, which is why platforms that start it differently agree only after a few lengths of data. The SMA drops the oldest bar all at once, so a large move leaving the window can turn the average even on a quiet day.
How much each average lags, measured
We measured the lag of each type on our two daily series, Bitcoin and the S&P 500 ETF (dividend-adjusted prices), to October 28, 2026, starting after three lengths of warm-up: the 20-bar lines from May 7, 2025 on Bitcoin and September 4, 2024 on the ETF, the 50-bar lines from August 5, 2025 and January 14, 2025. Lag here is the shift k, from 0 to 40 bars, that minimizes the mean of |averaget / closet−k − 1| over that period, the average gap in percent between the average today and the close k bars ago. The result can move by one bar with the way the gap is measured: with the gap in price instead of percent, the Bitcoin SMA(50) comes out at 25 bars, the WMA(20) at 5 and the WMA(50) at 13. We also counted how often the close crossed each average over the same period, a rough count of the signals it would give: a crossing is a close on the other side of the average from the close the bar before.
Lag of each average, in bars

- Bitcoin
- S&P 500 ETF
Close crossings of each average

- Bitcoin
- S&P 500 ETF
A simple average lags by about half its length, which matches its construction: it is centered on the middle of its window. The weighted and exponential forms cut that by about a fifth to a half, and the Hull by about 70% or more. The cost shows in the crossing counts: on 20 bars, the less an average lagged, the more often price crossed it; on 50 bars the same held for the WMA and the Hull, but the EMA was crossed slightly less often than the SMA (30 against 31 on Bitcoin, 29 against 31 on the ETF). On the same 20-bar length the Hull was crossed about one and a half to two times as often as the simple average (118 against 61 on Bitcoin, 109 against 70 on the ETF). There is no free reduction of lag; each step toward speed buys more signals in ranges.
Common periods: 20, 50 and 200
StockCharts describes shorter averages of 5 to 20 periods as suited to short-term trends, 20 to 60 periods to medium-term trends, and 100 periods or more to long-term investing, and calls the 200-day average perhaps the most popular, with the 50-day popular for the medium-term trend. There is nothing special in the numbers themselves; they are popular because many people watch them.
200-day moving average on the S&P 500 ETF

- Price, daily candles (hollow up, filled down)
- SMA(200) of the close (solid line)
The chart shows the 200-day simple average on the S&P 500 ETF from October 30, 2025 to October 28, 2026. Over the 600 daily bars of this chart series, from the first 200-day value on March 26, 2025, when the ETF was below its average, the close crossed it three times, the first of them before the window shown on the chart:
- up on May 12, 2025 at 573.48; the ETF stayed above for ten months, closing at 645.30 when it crossed down on March 20, 2026 (+12.52%), after a high close of 690.10;
- down on March 20, 2026 at 645.30; the lowest close after it was 628.78, and the ETF crossed back up on April 8 at 672.60, 4.23% higher than where it had crossed down;
- up on April 8, 2026 at 672.60; still above on October 28, 2026 at 772.31 (+14.82%).
On daily Bitcoin, over the 600 bars of its series, from the first 200-day value on September 23, 2025, the same average gave eight crossings. Six came in two weeks, from October 17 to October 31, 2025, as the close hovered around the average, between about 106,400 and 110,100 at the crossings. The seventh, down on November 3, 2025 at 106,583.04, was followed by a fall to a lowest close of 58,624.71 before the eighth, up on August 19, 2026 at 69,334.79, 34.95% below the crossing down. On October 28, 2026 Bitcoin closed at 81,343.50, 17.32% above that crossing up. One average, two markets: on the ETF, two long trends and one whipsaw; on Bitcoin, six whipsaws in a fortnight before it caught the decline. The second chart shows Bitcoin from October 14, 2025 to June 20, 2026: the six crossings of late October, the crossing down of November 3 and most of the fall that followed.
200-day moving average on daily Bitcoin

- Price, daily candles (hollow up, filled down)
- SMA(200) of the close (solid line)
Moving averages as support and resistance
StockCharts notes that moving averages can act as support in an uptrend and resistance in a downtrend, and advises treating them as zones rather than exact levels. Price often overshoots a widely watched average before turning, or slices through it; a level that held twice is not a guarantee of a third time. Our bench does not measure moving average bounces.
Crossovers and ribbons
Two averages of different lengths give a crossover signal when the faster crosses the slower. StockCharts calls the shorter average crossing above the longer one a golden cross and the cross below a death cross, the best known pair being the 50-day and 200-day averages; see moving average crossovers. A moving average ribbon plots a set of averages of increasing length on the same chart, for example exponential averages from 20 to 55 bars. When the ribbon fans out in order, fastest on the outside, the trend is strong; when it twists and the averages cross each other, the trend is pausing or turning. The Guppy indicator (multiple moving average) is a ribbon split into a short and a long group, and its three states are the clearest way to see the idea:
The three states of the GMMA groups

Does it work?
Our bench tested price crossings of the short, medium and long averages shown here, and turns of the long one, across markets after costs, and the results are in the section below: buying a close above the shorter averages lagged the market, selling a close below the shortest one lagged it by a small, fragile margin, and the signals of the long average showed no edge or were inconclusive (see our methodology). The lag and crossing counts above describe two markets over about two years; they show the trade-off between types and lengths, not which one makes money.
If you want to study moving average systems with backtests, Steve Burns' courses on New Trader University cover them: Moving Averages 101, an introduction in an 11-part video course, and Moving Average Signals, which presents backtests of 10 moving average signals across ten stocks. They are affiliate links, and we have not taken the courses.

For the full family, see the list of trend indicators; for averages inside other tools, Bollinger Bands and the MACD.
Data from our test bench
Tested on our bench
We coded the 8 strategies taught on this page, buy and sell side, and ran them on stocks, ETFs, indices, forex, crypto and commodities. With all markets pooled (daily bars): 3 did worse than the market, 3 showed no edge, 2 were inconclusive or not measured.
Price crosses its 20-bar SMA, bullishLagged the market
Entry: Close crosses above its 20-bar SMA. Exit: Opposite signal (stop and reverse).
The trade itself made money on average, but less than the rest of the market over the same bars.
In detail, all markets pooled
On daily bars, the rule fired 507,283 times on 2,356 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 17 bars on each asset.
The average trade returned +0.40% before costs and the median trade −1.18%; 27% of trades made money, and the gains added up to 1.21 times the losses.
A trade lasted 4 bars at the median, half of them between 1 and 13 bars.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.20% per trade after costs (95% interval −0.24% to −0.16%).
- Signals
- 507,2832,356 assets, 1970 to 2026
- Average trade
- +0.40%before costs; median −1.18%
- Winning trades
- 27%profit factor 1.21
- Median hold
- 4 barshalf between 1 and 13
- Vs the market, after costs
- −0.20%95% interval −0.24% to −0.16%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.9% | 51.8% | 52.0% | 53.3% | 54.5% |
| Random dates | 50.6% | 51.9% | 52.6% | 53.6% | 54.6% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 169,112 | −0.13% |
| 2012 to 2021 | 169,080 | −0.09% |
| 2021 to 2026 | 169,091 | −0.07% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| As tested: entry at the signal close, standard costs | −0.20% | |
| Entry at the next bar's open | −0.22% | Holds |
| Trading costs doubled | −0.30% | Holds |
| 1% most extreme trades trimmed on each side | −0.36% | Holds |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 505,085 trades hit the target first, for +0.16 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −66.5% on DEXE/USDT, signal of 2026-06-22.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 440,910 | +0.33% | 27% | −0.20% | Lagged the market |
| ETFs | daily | 15,279 | +0.27% | 30% | −0.07% | No edge found |
| Indices | daily | 7,845 | +0.51% | 32% | n/a | Not measured |
| Forex | daily | 5,479 | −0.02% | 25% | −0.06% | No edge found |
| Crypto | daily | 33,194 | +1.52% | 20% | −0.26% | No edge found |
| Commodities | daily | 4,576 | +0.28% | 26% | −0.17% | No edge found |
| All markets | 4-hour | 254,251 | +0.02% | 23% | −0.29% | Lagged the market |
| Forex | 4-hour | 31,079 | −0.01% | 25% | −0.04% | No edge found |
| Crypto | 4-hour | 223,172 | +0.02% | 23% | −0.32% | Lagged the market |
| All markets | weekly | 90,623 | +2.23% | 29% | −0.40% | Inconclusive |
| Stocks | weekly | 80,891 | +1.97% | 29% | −0.38% | Inconclusive |
| ETFs | weekly | 2,921 | +1.68% | 34% | −0.01% | No edge found |
| Indices | weekly | 1,558 | +2.33% | 36% | −0.24% | Inconclusive |
| Forex | weekly | 1,127 | −0.32% | 23% | −0.36% | Lagged the market |
| Crypto | weekly | 3,113 | +15.49% | 26% | n/a | Not measured |
| Commodities | weekly | 1,013 | +1.45% | 26% | −0.78% | Inconclusive |
Price crosses its 20-bar SMA, bearishLagged the market, fragile
Entry: Close crosses below its 20-bar SMA. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 511,433 times on 2,357 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 17 bars on each asset.
The average trade returned −0.44% before costs and the median trade −1.35%; 22% of trades made money, and the gains added up to only 0.79 times the losses. For this sell signal, a trade gains when the price falls (a short sale).
A trade lasted 3 bars at the median, half of them between 1 and 11 bars.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.17% per trade after costs (95% interval −0.20% to −0.14%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.
- Signals
- 511,4332,357 assets, 1970 to 2026
- Average trade
- −0.44%before costs; median −1.35%
- Winning trades
- 22%profit factor 0.79
- Median hold
- 3 barshalf between 1 and 11
- Vs the market, after costs
- −0.17%95% interval −0.20% to −0.14%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.6% | 47.5% | 46.7% | 46.3% | 45.6% |
| Random dates | 48.2% | 47.5% | 47.0% | 46.2% | 45.3% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 170,489 | −0.06% |
| 2012 to 2021 | 170,521 | −0.05% |
| 2021 to 2026 | 170,423 | −0.08% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| As tested: entry at the signal close, standard costs | −0.17% | |
| Entry at the next bar's open | −0.13% | Does not hold |
| Trading costs doubled | −0.27% | Holds |
| 1% most extreme trades trimmed on each side | −0.19% | Holds |
The result no longer holds when entering at the next bar's open instead of the signal close.
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 508,308 trades hit the target first, for −0.15 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −303.6% on DOGE/USDT, signal of 2021-01-19.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 443,567 | −0.55% | 21% | −0.16% | Lagged the market, fragile |
| ETFs | daily | 15,272 | −0.31% | 21% | −0.05% | No edge found |
| Indices | daily | 7,845 | −0.14% | 23% | n/a | Not measured |
| Forex | daily | 5,481 | −0.04% | 24% | −0.06% | No edge found |
| Crypto | daily | 34,672 | +0.78% | 31% | −0.32% | No edge found |
| Commodities | daily | 4,596 | −0.30% | 23% | −0.17% | No edge found |
| All markets | 4-hour | 256,169 | −0.03% | 26% | −0.28% | Lagged the market |
| Forex | 4-hour | 31,911 | −0.02% | 24% | −0.04% | Inconclusive |
| Crypto | 4-hour | 224,258 | −0.03% | 26% | −0.32% | Lagged the market |
| All markets | weekly | 93,484 | −1.93% | 19% | −0.19% | No edge found |
| Stocks | weekly | 83,206 | −2.06% | 19% | −0.18% | No edge found |
| ETFs | weekly | 2,948 | −1.08% | 19% | +0.05% | No edge found |
| Indices | weekly | 1,562 | −0.73% | 19% | −0.22% | No edge found |
| Forex | weekly | 1,129 | −0.30% | 23% | −0.28% | Inconclusive |
| Crypto | weekly | 3,634 | −0.003% | 38% | n/a | Not measured |
| Commodities | weekly | 1,005 | −1.15% | 21% | −0.55% | No edge found |
Price crosses its 50-bar SMA, bullishLagged the market
Entry: Close crosses above its 50-bar SMA. Exit: Opposite signal (stop and reverse).
The trade itself made money on average, but less than the rest of the market over the same bars.
In detail, all markets pooled
On daily bars, the rule fired 301,067 times on 2,347 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 28 bars on each asset.
The average trade returned +0.78% before costs and the median trade −1.38%; 22% of trades made money, and the gains added up to 1.36 times the losses.
A trade lasted 4 bars at the median, half of them between 1 and 18 bars. 1% of trades never met the exit rule and were closed at the maximum holding time.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.23% per trade after costs (95% interval −0.32% to −0.15%).
- Signals
- 301,0672,347 assets, 1970 to 2026
- Average trade
- +0.78%before costs; median −1.38%
- Winning trades
- 22%profit factor 1.36
- Median hold
- 4 barshalf between 1 and 18
- Vs the market, after costs
- −0.23%95% interval −0.32% to −0.15%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.2% | 52.0% | 52.0% | 53.7% | 54.8% |
| Random dates | 50.6% | 52.0% | 52.6% | 53.6% | 54.6% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 100,360 | −0.16% |
| 2012 to 2021 | 100,374 | −0.12% |
| 2021 to 2026 | 100,333 | −0.10% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| As tested: entry at the signal close, standard costs | −0.23% | |
| Entry at the next bar's open | −0.24% | Holds |
| Trading costs doubled | −0.33% | Holds |
| 1% most extreme trades trimmed on each side | −0.46% | Holds |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 39% of 299,627 trades hit the target first, for +0.17 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −66.5% on DEXE/USDT, signal of 2026-06-22.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 262,058 | +0.65% | 23% | −0.20% | Inconclusive |
| ETFs | daily | 9,277 | +0.56% | 25% | −0.003% | No edge found |
| Indices | daily | 4,667 | +0.88% | 27% | n/a | Not measured |
| Forex | daily | 3,488 | −0.06% | 19% | −0.10% | No edge found |
| Crypto | daily | 18,755 | +3.01% | 16% | −0.79% | Inconclusive |
| Commodities | daily | 2,822 | +0.48% | 21% | −0.26% | No edge found |
| All markets | 4-hour | 149,633 | +0.20% | 18% | −0.32% | Lagged the market |
| Forex | 4-hour | 19,033 | −0.01% | 20% | −0.04% | No edge found |
| Crypto | 4-hour | 130,600 | +0.23% | 18% | −0.36% | Lagged the market |
| All markets | weekly | 54,163 | +4.24% | 25% | −0.46% | Inconclusive |
| Stocks | weekly | 48,172 | +4.03% | 25% | −0.41% | No edge found |
| ETFs | weekly | 1,691 | +3.67% | 29% | +0.28% | No edge found |
| Indices | weekly | 876 | +4.55% | 30% | −0.15% | No edge found |
| Forex | weekly | 727 | −0.49% | 16% | −0.53% | Inconclusive |
| Crypto | weekly | 2,062 | +15.12% | 18% | n/a | Not measured |
| Commodities | weekly | 635 | +1.39% | 19% | −1.53% | Lagged the market |
Price crosses its 50-bar SMA, bearishInconclusive
Entry: Close crosses below its 50-bar SMA. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 305,140 times on 2,352 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 28 bars on each asset.
The average trade returned −0.61% before costs and the median trade −1.62%; 17% of trades made money, and the gains added up to only 0.75 times the losses. For this sell signal, a trade gains when the price falls (a short sale).
A trade lasted 4 bars at the median, half of them between 1 and 14 bars.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.16% per trade after costs (95% interval −0.21% to −0.12%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.
- Signals
- 305,1402,352 assets, 1970 to 2026
- Average trade
- −0.61%before costs; median −1.62%
- Winning trades
- 17%profit factor 0.75
- Median hold
- 4 barshalf between 1 and 14
- Vs the market, after costs
- −0.16%95% interval −0.21% to −0.12%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.7% | 47.5% | 46.8% | 46.3% | 45.5% |
| Random dates | 48.2% | 47.4% | 47.0% | 46.2% | 45.3% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 101,714 | −0.04% |
| 2012 to 2021 | 101,780 | −0.03% |
| 2021 to 2026 | 101,646 | −0.11% |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 302,983 trades hit the target first, for −0.15 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −382.3% on NU/USDT, signal of 2021-10-10.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 264,786 | −0.79% | 17% | −0.12% | No edge found |
| ETFs | daily | 9,278 | −0.43% | 16% | −0.01% | No edge found |
| Indices | daily | 4,669 | −0.21% | 17% | n/a | Not measured |
| Forex | daily | 3,488 | −0.10% | 19% | −0.09% | No edge found |
| Crypto | daily | 20,084 | +1.54% | 27% | −0.73% | Inconclusive |
| Commodities | daily | 2,835 | −0.52% | 19% | −0.35% | Inconclusive |
| All markets | 4-hour | 151,551 | +0.13% | 22% | −0.29% | Lagged the market |
| Forex | 4-hour | 19,540 | −0.02% | 19% | −0.04% | No edge found |
| Crypto | 4-hour | 132,011 | +0.15% | 22% | −0.32% | Lagged the market |
| All markets | weekly | 56,049 | −2.75% | 14% | −0.08% | No edge found |
| Stocks | weekly | 49,811 | −2.77% | 14% | −0.04% | No edge found |
| ETFs | weekly | 1,695 | −1.20% | 14% | +0.20% | No edge found |
| Indices | weekly | 873 | −0.94% | 15% | −0.05% | No edge found |
| Forex | weekly | 729 | −0.37% | 18% | −0.36% | No edge found |
| Crypto | weekly | 2,309 | −6.74% | 21% | n/a | Not measured |
| Commodities | weekly | 632 | −1.89% | 17% | −0.99% | No edge found |
Price crosses its 200-bar SMA, bullishInconclusive
Entry: Close crosses above its 200-bar SMA. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 139,102 times on 2,266 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 61 bars on each asset.
The average trade returned +1.07% before costs and the median trade −1.64%; 17% of trades made money, and the gains added up to 1.43 times the losses.
A trade lasted 4 bars at the median, half of them between 1 and 20 bars. 11% of trades never met the exit rule and were closed at the maximum holding time.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.26% per trade after costs (95% interval −0.40% to −0.14%).
- Signals
- 139,1022,266 assets, 1970 to 2026
- Average trade
- +1.07%before costs; median −1.64%
- Winning trades
- 17%profit factor 1.43
- Median hold
- 4 barshalf between 1 and 20
- Vs the market, after costs
- −0.26%95% interval −0.40% to −0.14%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.2% | 51.1% | 51.8% | 52.9% | 53.9% |
| Random dates | 50.6% | 51.9% | 52.6% | 53.6% | 54.6% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 46,375 | −0.39% |
| 2012 to 2021 | 46,377 | +0.06% |
| 2021 to 2026 | 46,350 | −0.13% |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 138,365 trades hit the target first, for +0.14 R per trade on average against +0.11 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −72.1% on UNFI/USDT, signal of 2022-06-07.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 121,641 | +0.96% | 17% | −0.24% | Inconclusive |
| ETFs | daily | 4,255 | +0.86% | 18% | −0.03% | No edge found |
| Indices | daily | 1,966 | +1.45% | 22% | n/a | Not measured |
| Forex | daily | 1,563 | −0.04% | 14% | −0.10% | No edge found |
| Crypto | daily | 8,415 | +2.94% | 9% | −0.60% | No edge found |
| Commodities | daily | 1,262 | +0.69% | 15% | −0.32% | No edge found |
| All markets | 4-hour | 67,189 | +0.22% | 13% | −0.46% | Lagged the market |
| Forex | 4-hour | 9,356 | −0.01% | 14% | −0.04% | No edge found |
| Crypto | 4-hour | 57,833 | +0.26% | 12% | −0.53% | Lagged the market |
| All markets | weekly | 22,842 | +4.59% | 19% | n/a | Not measured |
| Stocks | weekly | 20,932 | +4.75% | 19% | n/a | Not measured |
| ETFs | weekly | 673 | +4.64% | 23% | n/a | Not measured |
| Indices | weekly | 364 | +4.91% | 25% | −0.37% | No edge found |
| Forex | weekly | 327 | −0.63% | 7% | −0.71% | Inconclusive |
| Crypto | weekly | 294 | −7.84% | 9% | n/a | Not measured |
| Commodities | weekly | 252 | +4.03% | 18% | n/a | Not measured |
Price crosses its 200-bar SMA, bearishNo edge found
Entry: Close crosses below its 200-bar SMA. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 141,361 times on 2,280 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 60 bars on each asset.
The average trade returned −0.93% before costs and the median trade −1.92%; 11% of trades made money, and the gains added up to only 0.67 times the losses. For this sell signal, a trade gains when the price falls (a short sale).
A trade lasted 4 bars at the median, half of them between 1 and 15 bars. 7% of trades never met the exit rule and were closed at the maximum holding time.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.10% per trade after costs (95% interval −0.21% to +0.005%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.
- Signals
- 141,3612,280 assets, 1970 to 2026
- Average trade
- −0.93%before costs; median −1.92%
- Winning trades
- 11%profit factor 0.67
- Median hold
- 4 barshalf between 1 and 15
- Vs the market, after costs
- −0.10%95% interval −0.21% to +0.005%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.8% | 47.4% | 46.8% | 46.2% | 45.6% |
| Random dates | 48.2% | 47.4% | 47.0% | 46.2% | 45.3% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 47,159 | +0.001% |
| 2012 to 2021 | 47,099 | +0.10% |
| 2021 to 2026 | 47,103 | −0.10% |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 140,088 trades hit the target first, for −0.14 R per trade on average against −0.18 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −242.5% on QURE, signal of 2025-09-19.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 123,451 | −1.05% | 11% | −0.05% | No edge found |
| ETFs | daily | 4,261 | −0.49% | 10% | +0.03% | No edge found |
| Indices | daily | 1,963 | −0.47% | 10% | n/a | Not measured |
| Forex | daily | 1,568 | −0.12% | 13% | −0.15% | Inconclusive |
| Crypto | daily | 8,864 | +0.30% | 20% | −0.91% | Inconclusive |
| Commodities | daily | 1,254 | −0.55% | 13% | −0.35% | No edge found |
| All markets | 4-hour | 69,039 | +0.18% | 17% | −0.26% | No edge found |
| Forex | 4-hour | 9,603 | −0.01% | 14% | −0.02% | No edge found |
| Crypto | 4-hour | 59,436 | +0.21% | 18% | −0.29% | No edge found |
| All markets | weekly | 23,609 | −4.83% | 8% | −0.35% | No edge found |
| Stocks | weekly | 21,696 | −4.99% | 8% | −0.36% | No edge found |
| ETFs | weekly | 660 | −3.19% | 6% | −0.11% | No edge found |
| Indices | weekly | 361 | −2.01% | 9% | +0.20% | No edge found |
| Forex | weekly | 325 | −0.37% | 14% | n/a | Not measured |
| Crypto | weekly | 319 | −10.64% | 13% | n/a | Not measured |
| Commodities | weekly | 248 | −2.89% | 11% | n/a | Not measured |
200-bar SMA turns, bullishNo edge found
Entry: SMA(200) rises after falling. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 120,754 times on 2,249 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 70 bars on each asset.
The average trade returned +0.97% before costs and the median trade −1.02%; 34% of trades made money, and the gains added up to 1.38 times the losses.
A trade lasted 4 bars at the median, half of them between 1 and 17 bars. 11% of trades never met the exit rule and were closed at the maximum holding time.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.23% per trade after costs (95% interval −0.38% to −0.09%).
- Signals
- 120,7542,249 assets, 1970 to 2026
- Average trade
- +0.97%before costs; median −1.02%
- Winning trades
- 34%profit factor 1.38
- Median hold
- 4 barshalf between 1 and 17
- Vs the market, after costs
- −0.23%95% interval −0.38% to −0.09%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.1% | 50.6% | 50.7% | 52.1% | 53.2% |
| Random dates | 50.6% | 51.9% | 52.5% | 53.5% | 54.4% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 40,257 | −0.40% |
| 2012 to 2021 | 40,246 | +0.03% |
| 2021 to 2026 | 40,251 | +0.002% |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 120,165 trades hit the target first, for +0.12 R per trade on average against +0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −87.1% on DEXE/USDT, signal of 2026-04-23.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 104,759 | +0.93% | 35% | −0.24% | No edge found |
| ETFs | daily | 3,487 | +0.90% | 37% | −0.02% | No edge found |
| Indices | daily | 1,706 | +1.08% | 39% | n/a | Not measured |
| Forex | daily | 1,495 | −0.03% | 32% | −0.10% | No edge found |
| Crypto | daily | 8,166 | +1.81% | 25% | −0.03% | No edge found |
| Commodities | daily | 1,141 | −0.02% | 33% | −1.00% | Lagged the market |
| All markets | 4-hour | 62,265 | +0.53% | 31% | −0.32% | Inconclusive |
| Forex | 4-hour | 8,374 | −0.01% | 33% | −0.03% | No edge found |
| Crypto | 4-hour | 53,891 | +0.61% | 31% | −0.37% | Inconclusive |
| All markets | weekly | 18,302 | +5.56% | 37% | n/a | Not measured |
| Stocks | weekly | 16,640 | +5.80% | 37% | n/a | Not measured |
| ETFs | weekly | 567 | +4.26% | 40% | n/a | Not measured |
| Indices | weekly | 294 | +4.50% | 47% | −0.99% | No edge found |
| Forex | weekly | 286 | −0.14% | 32% | n/a | Not measured |
| Crypto | weekly | 274 | +6.50% | 39% | n/a | Not measured |
| Commodities | weekly | 241 | +0.40% | 40% | n/a | Not measured |
200-bar SMA turns, bearishNo edge found
Entry: SMA(200) falls after rising. Exit: Opposite signal (stop and reverse).
In detail, all markets pooled
On daily bars, the rule fired 122,135 times on 2,254 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 69 bars on each asset.
The average trade returned −1.02% before costs and the median trade −1.44%; 28% of trades made money, and the gains added up to only 0.68 times the losses. For this sell signal, a trade gains when the price falls (a short sale).
A trade lasted 3 bars at the median, half of them between 1 and 14 bars. 8% of trades never met the exit rule and were closed at the maximum holding time.
Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.08% per trade after costs (95% interval −0.18% to +0.04%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.
- Signals
- 122,1352,254 assets, 1970 to 2026
- Average trade
- −1.02%before costs; median −1.44%
- Winning trades
- 28%profit factor 0.68
- Median hold
- 3 barshalf between 1 and 14
- Vs the market, after costs
- −0.08%95% interval −0.18% to +0.04%
After the signal, bar by bar
Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).
| Bars after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.7% | 47.2% | 46.6% | 45.9% | 45.3% |
| Random dates | 48.2% | 47.5% | 47.1% | 46.3% | 45.4% |
Over time
The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 40,719 | −0.01% |
| 2012 to 2021 | 40,711 | +0.10% |
| 2021 to 2026 | 40,705 | −0.004% |
With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 121,202 trades hit the target first, for −0.13 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.
Worst single trade of the whole test: −386.8% on GXS/USDT, signal of 2021-09-25.
Real trades from the test
Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.


Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 105,900 | −1.13% | 27% | −0.02% | No edge found |
| ETFs | daily | 3,480 | −0.49% | 26% | +0.12% | No edge found |
| Indices | daily | 1,700 | −0.61% | 26% | n/a | Not measured |
| Forex | daily | 1,499 | −0.12% | 32% | −0.12% | No edge found |
| Crypto | daily | 8,400 | −0.13% | 38% | −0.82% | Lagged the market, fragile |
| Commodities | daily | 1,156 | −0.53% | 33% | −0.46% | No edge found |
| All markets | 4-hour | 63,641 | +0.30% | 35% | −0.22% | No edge found |
| Forex | 4-hour | 8,511 | +0.002% | 33% | −0.02% | No edge found |
| Crypto | 4-hour | 55,130 | +0.34% | 36% | −0.25% | No edge found |
| All markets | weekly | 18,733 | −5.54% | 23% | −0.65% | No edge found |
| Stocks | weekly | 17,024 | −5.77% | 23% | −0.57% | No edge found |
| ETFs | weekly | 558 | −4.41% | 19% | −0.40% | No edge found |
| Indices | weekly | 290 | −4.16% | 20% | +0.04% | No edge found |
| Forex | weekly | 283 | −0.67% | 35% | n/a | Not measured |
| Crypto | weekly | 338 | +0.56% | 45% | n/a | Not measured |
| Commodities | weekly | 240 | −3.78% | 32% | n/a | Not measured |
Each strategy enters at the close of the signal bar and exits at the exit it teaches, without a stop. The test compares the asset with an equal-weight basket of the other assets of its market over exactly the same bars, net of trading costs; for a sell signal, beating the market means the asset did worse than the others. A result is shown as beating or lagging the market only when it survives a correction for the number of tests and holds in both halves of the history; it is marked fragile when entering at the next open, doubling costs or trimming extreme trades removes it. Daily index bars are not compared with other indices, because their closes fall at different hours; “Not measured” also covers samples too small to test. Rules were fixed before any result was seen. How we test
Frequently asked questions
How do you read a moving average?
By its slope and by where price sits relative to it. A rising average with price above it describes an uptrend over that period; a falling one with price below, a downtrend. A flat average that price keeps crossing describes a range.
What is the best moving average indicator?
None is best in general: each type trades lag against noise. On our data, the Hull average lagged least and was crossed most often; the simple average lagged most, and at 20 bars it was also crossed least. Pick the one whose behavior fits how long you hold trades.
What are the most common moving average periods?
20 for the short term, 50 for the medium term and 200 for the long term are the ones most charts show; StockCharts calls the 200-day perhaps the most popular. For daily charts, 5 to 20 bars covers short-term trends and 100 or more long-term ones.
What does a 20-period moving average tell you?
The average close of the last 20 bars, about one trading month on a daily chart of stocks. On our two daily series a 20-bar simple average lagged price by about 10 bars.
Is the EMA better than the SMA?
It reacts sooner, which on our data cut the lag of a 20-bar average from about 10 bars to 6 or 7, at the cost of a few more crossings. Whether that is better depends on whether early signals or fewer false ones matter more to you.
What is a moving average ribbon?
Several moving averages of increasing length on the same chart. Averages fanning out in order describe a strong trend; averages twisting through each other describe a pause or a turn. The GMMA is a well known ribbon.
