Home / Strategies / Walmart (WMT)
Stock · strategy report

Does anything beat buy & hold on Walmart (WMT)?

Every setup we tested on Walmart (WMT) — ranked out-of-sample, corrected for multiple testing, and forward-tracked in public from the day this page published. The honest answer is the headline.

NOTHING BEAT BUY-AND-HOLD

No setup beat simply holding once tested honestly. We say so plainly.

Its best setup trailed buy-and-hold out-of-sample. Buy-and-hold benchmark: +18.7% CAGR over 54.0 years (+14.7% CAGR in the out-of-sample window).

Educational research from historical backtests — not investment advice. Past performance does not predict future results.

WMT: we tested 755 setups and none beat simply holding Walmart

For Walmart (WMT), we ran 755 indicator configurations against a plain buy-and-hold benchmark, and none of them earned the right to replace it. Individual stocks carry idiosyncratic risk — earnings surprises, guidance changes, sector rotation — that indicators built on price history cannot see coming. The best-looking setup, Demand Index on the weekly timeframe, ranked at the top in-sample but delivered an out-of-sample Sharpe of 0.91, short of our hurdle of 0.9. Buy-and-hold returned +18.7% annualized over the test period; the top strategies mostly captured pieces of that same move while adding trading friction.

How to read this honestly: when you test 755 setups and keep the best one, something will always look impressive by chance alone. That is why we require the survivor to clear 0.9 out of sample. Demand Index managed 0.91, with out-of-sample alpha of -3.8% across 16.2 years and 137 trades, and only 0.0% of everything we tested beat the benchmark on unseen data — roughly what luck would produce. None of this predicts anything: the regime that generated these numbers can shift, and single stocks shift faster than most. Treat this page as a record of what failed under honest testing, not a forecast.

Every figure above is computed from our own backtests — nothing is estimated or invented. Hypothetical results; not investment advice.

Failure exhibit

The least-bad setups — shown with their failure numbers

Nothing here earned a verdict — these are the best of a losing field, published so you can see exactly how "best" still failed.

#1 · Volume · Weekly

Demand Index

Mechanical rule (exactly as backtested): Sibbet's Demand Index (buy vs sell pressure) — long while positive. Signals are evaluated at weekly-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.

>+999%
Total return
0.55
Sharpe
-65.4%
Max DD
70.1%
Win rate
137
Trades
-9.3%
vs B&H

Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.91 · alpha -3.8% · 48 trades over 16.2 yrs.

#2 · Volume · Daily

Demand Index

Mechanical rule (exactly as backtested): Sibbet's Demand Index (buy vs sell pressure) — long while positive. Signals are evaluated at daily-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.

>+999%
Total return
0.51
Sharpe
-72.8%
Max DD
64.8%
Win rate
582
Trades
-10.0%
vs B&H

Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.77 · alpha -4.3% · 180 trades over 16.1 yrs.

#3 · Oscillator · Daily

Ultimate Oscillator

Mechanical rule (exactly as backtested): Williams' multi-timeframe oscillator — buy up-through 30, exit above 70. Signals are evaluated at daily-bar close, the position changes on the NEXT bar, 0.08% cost per side, long/flat only — no leverage, no shorting.

>+999%
Total return
0.55
Sharpe
-59.8%
Max DD
77.0%
Win rate
61
Trades
-11.1%
vs B&H

Out-of-sample (last ~30% of the window, never used to pick this setup): Sharpe 0.74 · alpha -5.2% · 15 trades over 16.1 yrs.

Forward test

Since publication — including if it loses

0.0%
the published setup, since 2026-07-02 (0 market days)
0.0%
buy & hold, same window

The forward record is just getting started — the gap between the two is the honest score. Marked to market nightly from real prices, rules frozen at publication, as of 2026-06-29. Currently LONG.

How this verdict was computed (mode: out-of-sample)

We tested 755 setups (indicator × parameters × timeframe) on Walmart (WMT). Only setups with ≥30 trades qualify (718 did). Setups are ranked by out-of-sample Sharpe — the last ~30% of history, which standard-parameter rules never saw during selection. Because picking the best of 755 tries mines even the holdout, the VALIDATED verdict additionally requires the top setup’s OOS Sharpe to clear a selection hurdle of 0.9 (√(2 ln N)/√T) AND positive alpha in both windows. Of the eligible setups, 0.0% had positive out-of-sample alpha (median OOS Sharpe 0.4) — the table below is truncated, but this summary covers all of them. Full recipe: methodology · the engine’s contract lives in the repo as STRATEGY_METHODOLOGY.md.

Ranked table

Top 20 of 718 eligible setups

Ranked by out-of-sample Sharpe. Full + out-of-sample columns, costs included. Hypothetical.

#SetupTFTotal retSharpeMax DDWinTradesα vs B&HOOS SharpeOOS αOOS trades
1Demand IndexWeekly>+999%0.55-65.4%70.1%137-9.3%0.91-3.8%48
2Demand IndexDaily>+999%0.51-72.8%64.8%582-10.0%0.77-4.3%180
3Ultimate OscillatorDaily>+999%0.55-59.8%77.0%61-11.1%0.74-5.2%15
4SMC: Liquidity SweepWeekly>+999%0.5-53.3%86.5%37-11.0%0.73-7.3%13
5Bullish EngulfingWeekly>+999%0.39-38.4%63.4%112-14.1%0.73-8.1%36
6SMA 100 TrendWeekly>+999%0.67-79.3%43.1%72-4.8%0.72-2.9%16
7VIDYA 100 TrendDaily>+999%0.69-67.4%29.3%99-3.2%0.71-2.1%16
8Guppy Multiple MAWeekly>+999%0.7-69.8%43.6%39-3.8%0.71-2.9%10
9EMA 200 TrendWeekly>+999%0.71-63.7%46.0%50-3.0%0.7-2.5%10
10EMA 10/40 CrossWeekly>+999%0.69-68.7%41.7%36-4.3%0.7-2.9%10
11CCI (100)Weekly>+999%0.65-82.2%34.5%58-5.1%0.7-3.0%12
12TRIMA 100 TrendWeekly>+999%0.69-70.5%47.7%44-4.4%0.7-3.3%11
13Supertrend (14,4)Daily>+999%0.6-56.6%50.4%137-7.7%0.7-4.5%35
14FRAMA 100 TrendWeekly>+999%0.41-81.7%52.9%295-12.3%0.7-5.2%76
15Vegas TunnelWeekly>+999%0.67-70.0%34.8%46-4.5%0.68-3.2%14
16SMA 200 TrendWeekly>+999%0.72-63.8%40.0%35-3.2%0.68-3.2%11
17EMA 100 TrendWeekly>+999%0.65-81.1%40.0%80-5.2%0.68-3.4%17
18Disparity (100)Weekly>+999%0.65-81.1%40.0%80-5.2%0.68-3.4%17
19VIDYA 30 TrendWeekly>+999%0.7-65.4%36.7%60-3.5%0.67-3.2%14
20WMA 200 TrendWeekly>+999%0.66-78.2%33.9%59-5.1%0.67-3.5%14

Hypothetical backtests with 0.08%/side costs. Not investment advice — see the full disclaimer.

Read this before acting on anything

These are historical backtests of mechanical rules. They are educational research, not investment advice, not a recommendation, and not tailored to you. Educational information only — not investment advice. Hypothetical backtested results; past performance does not guarantee future results. Trading involves risk of loss.

Keep digging