Does the 9/21 EMA crossover work? We tested it on thousands of trades
Last updated
In-sample, not a promise. Every figure we measured here comes from a backtest on past data.
Does the 9/21 EMA crossover work?
None of the three versions we tested passed the bar we set in advance, after costs. That is not proof it can never work; it is what these versions did on these data.
None of the three versions passed our pre-set test. On hourly crypto the plain always-in cross made 15.0% a year before costs and -51.3% after; it beat 191 of 200 random copies of itself but trailed the basket by a wide margin. On daily US stocks it made 9.1% a year against 18.0% for the stocks it traded. The filtered version beat 200 of 200 random copies but trailed the basket in both halves of the test.
Hypothetical historical backtest on cached data to March 2025, not live results and not indicative of future performance. General information only. It doesn't consider your objectives, finances or needs. Tickfloor holds no financial services licence and never places trades.
Correction, 6 October 2026: what we fixed after review
What people say
The 9/21 EMA cross is one of the first strategies new traders meet: two moving averages, buy when the fast one crosses above the slow one, sell when it crosses back. This autumn a run of videos tested it "on 100 trades" and reported real results.
- "9-21 EMA Strategy Tested on 100 Trades | REAL Results" (Trade Hunter, YouTube, 22 Sep 2026 (video title))
- "9-21 EMA Intraday Trading Strategy" (Trade Hunter, YouTube, 24 Aug 2026 (video title))
- "EMA 9 and EMA 21 aligned with the direction" (r/algotrading post, 20 Sep 2026)
On 5 October, Trade Hunter's two 9-21 EMA videos had 25,473 and 21,776 views. In our archive sample of five trading subreddits (1 September to 5 October 2026), moving averages came up in 101 posts, including an r/Daytrading thread asking whether RSI, MACD and EMAs are outdated.
What we tested
Whether 100 trades is enough depends on how big the effect is and how correlated the trades are; for a small edge with costs, 100 trades often cannot separate it from luck. We ran the cross over 21,714 hourly trades on crypto, plus the filtered version and a daily version on US stocks. The videos trade the cross on intraday stock and futures charts; hourly crypto and daily stocks are what our harness has. The rules and pass bar were written down before running.
- 9/21 EMA cross on hourly crypto, long and short. Hourly crypto, always in the market: long while the 9-period EMA is above the 21-period EMA, short while it is below.
- Same cross, long only, above the 200 EMA (earlier run). The same cross, long only, and only while price is above the 200-period EMA. This is the filtered version many videos teach. Reused from an earlier batch.
- 9/21 EMA cross on daily US large caps, long only. Daily bars on 40 large US stocks, long while the 9-day EMA is above the 21-day EMA, cash otherwise.
Results
| Version | Market (assets) | Trades | Rule, a year (after costs) | Benchmark, a year | Ahead or behind, a year | Same, before costs | Random copies beaten (share of 200) | p | q (all tests) |
|---|---|---|---|---|---|---|---|---|---|
| 9/21 EMA cross on hourly crypto, long and short | crypto (8) | 21,714 | -51.3% | 84.7% | -136.0 pts | -69.7 pts | 95.5% | 1.00 | 1.00 |
| Same cross, long only, above the 200 EMA (earlier run) | crypto (8) | 9,911 | 21.8% | 84.7% | -62.9 pts | -3.8 pts | 100.0% | 1.00 | 1.00 |
| 9/21 EMA cross on daily US large caps, long only | US stocks (40) | 1,862 | 9.1% | 18.0% | -8.9 pts | -8.3 pts | 29.5% | 1.00 | 1.00 |
- 9/21 EMA cross on hourly crypto, long and short
- Market (assets)
- crypto (8)
- Trades
- 21,714
- Rule, a year (after costs)
- -51.3%
- Benchmark, a year
- 84.7%
- Ahead or behind, a year
- -136.0 pts
- Same, before costs
- -69.7 pts
- Random copies beaten (share of 200)
- 95.5%
- p
- 1.00
- q (all tests)
- 1.00
- Same cross, long only, above the 200 EMA (earlier run)
- Market (assets)
- crypto (8)
- Trades
- 9,911
- Rule, a year (after costs)
- 21.8%
- Benchmark, a year
- 84.7%
- Ahead or behind, a year
- -62.9 pts
- Same, before costs
- -3.8 pts
- Random copies beaten (share of 200)
- 100.0%
- p
- 1.00
- q (all tests)
- 1.00
- 9/21 EMA cross on daily US large caps, long only
- Market (assets)
- US stocks (40)
- Trades
- 1,862
- Rule, a year (after costs)
- 9.1%
- Benchmark, a year
- 18.0%
- Ahead or behind, a year
- -8.9 pts
- Same, before costs
- -8.3 pts
- Random copies beaten (share of 200)
- 29.5%
- p
- 1.00
- q (all tests)
- 1.00
Read the numbers with this in mind. The benchmark is always fully invested and pays no costs, and from 2017 to early 2025 crypto rose a lot, so any rule that spends much of its time in cash trails it by a wide margin almost automatically. That gap answers a narrow question, not whether the rule is useful. So we also compare each rule with 200 copies of itself: its own trades, with the same holding times, the same long and short sides and the same costs, shifted together to a random point in time, the same shift for every market it trades. Those copies are in the market exactly as much as the rule is, so they ask a different question: did the rule pick better moments than chance? The copies are not held to the same hours of the day. The always-in version is never in cash, so for it the benchmark gap is about timing and costs, though being short half the time is not the same exposure as an always-long basket.
The plain cross beat 191 of 200 random copies. The filtered version (not charted) beat 200 of 200, but it still trailed the basket in both halves of the test window.
What costs do to it
Crypto pays 0.10% a side plus a per-coin slippage measured from the Binance order book on 8 September 2026 for a $1,000 order, applied to the whole 2017 to 2025 window (a present-day snapshot, not historical spreads). US stocks and ETFs pay 0.05% a side. The cost is charged every time the position changes, including a flip from long to short. Shorts pay no borrow or funding; their net effect is not measured here. The always-in cross made 21,714 trades in seven and a half years; every flip from long to short ends one trade and starts the next. Before costs it made 15.0% a year; after costs -51.3%. The filtered version trades less and kept more: 80.9% before costs, 21.8% after, against 84.7% for the basket.
What the result does and does not show
A moving average cross is a late signal by design. By the time the 9 crosses the 21, part of the move is over, and in a choppy market the cross flips back and forth and pays costs each time. After the control fixes, the always-in cross beat 191 of 200 random copies with the same trades and costs, just over the 190 the gate needs. Coin-flip rules clear that gate 7.0% of the time under the same control, so clearing it is weak evidence about its timing on its own. It still lost 51.3% a year after costs and trailed the basket, which is why it did not pass. One result out of the many tests on this site is not evidence of an edge.
On daily US stocks the cross cut the worst drop from 32.2% to 13.8%, because it was in cash for part of every big fall. It also missed a lot of the gains, 9.1% a year against 18.0%. That is a smaller, smoother ride with less return, and its trades beat 59 of 200 random copies.
The filtered hourly version kept far more than the plain cross and beat 200 of 200 random copies. It still trailed the basket by a wide margin in both halves of the window, so it did not pass our test, and on its own it is not evidence of an edge.
What a beginner should take away
- 100 trades is often too few to tell skill from luck for a rule like this. How many you need depends on how big the effect is; look for thousands, over different market conditions, with costs.
- Lower drawdown is not the same as a better strategy. Check what you gave up in return.
- A trend filter (only buy above the 200 EMA) changed the result a lot here, and it still did not pass. One good-looking variant out of several is what luck alone tends to produce.
Try it yourself
The Lab can run the daily cross on one stock, though not the hourly crypto basket above: on QQQ, set the entry to ema(9) crosses above ema(21) and the exit to ema(9) crosses below ema(21). The Lab shows its win rate, average trade and worst drop, and compares it with 1,000 random entries.
The Lab tests one rule on one stock, fills at the next open and shows win rate, average trade and worst drop after costs, so its figures will not match the basket results above.
A pass opens every course lesson, the full research tabs and more Lab runs on all 50 Lab stocks. It does not include trade signals or a system that wins.
Receipt: data, costs, files
- Engine
- Tickfloor research harness (research/hunt2), the one behind the published strategy registry
- Pre-registration
- prereg.md, committed before any run; prereg-amendment-2026-10-06.md and prereg-amendment-2026-10-06b.md, each committed before its corrected runs
- Random control
- Version 3 (6 October 2026): every copy is the rule's own trades shifted to a random point in time, the same shift for every market it trades
- Window
- 17 August 2017 to 14 March 2025 for the best-faith version; data stops before 15 March 2025 (later data is held back)
- Cells
- tr5-ema921-1h-both, h3-hourly-ema-9-21-cross (earlier run, reused), tr5-ema921-daily-stocks
- Multiple testing
- q is Benjamini-Hochberg over all 722 tests in the published family, these included
- Result files
- results-amended-2026-10-06b.json (current), results-amended-2026-10-06.json (control v2, superseded) and results.json (archived, as first published), with every rule's code and sha256 hashes
Limits and caveats
Limits
The videos trade the cross on intraday stock and futures charts with discretion. We tested a mechanical version on hourly crypto and daily US stocks.
The always-in version is short half the time against an always-long benchmark; the benchmark gap mixes timing with that difference in exposure.
Shorts pay no borrow or funding cost here; the net effect is not measured.
The 40 stocks are today's large companies, which flatters any long rule a little (survivorship bias).
Correction, 6 October 2026
- Our random-date copies had a bug. When two copies of trades in the same direction landed next to each other, they merged into one trade, and the exit and re-entry costs between them were never charged. So the copies traded less and paid less than the rule they were copying, which made the rule look worse against them. We fixed the code so every copy keeps the rule's trade count and costs, wrote the fix down in a dated amendment before re-running, and re-ran every copy. A second check the same day found a deeper problem. The fixed copies still moved each market's trades on their own, so a rule that is in many related markets at the same moments (a moving-average rule on 8 crypto pairs, say) was compared with copies that spread those bets out. Spread-out bets bunch more tightly, so the rule landed far above or far below its copies too often: coin-flip rules beat 95% of their copies about three times as often as chance allows, mostly on US stocks. We changed the copies again, wrote that down in a second dated amendment before re-running, and re-ran every copy. Each copy now shifts the rule's own trades to a random point in time, the same shift for every market. On 600 coin-flip rules, 7.0% (same timing in every market) and 5.3% (own timing per market) now beat 95% of their copies, close to the 5% chance allows. The always-in cross was the rule most affected, because its long and short trades sit back to back. On this page: copies beaten out of 200, as first published, after the first fix and now: always-in hourly cross: 39 -> 195 -> 191; filtered hourly cross: 200 -> 200 -> 200; daily US stocks: 8 -> 8 -> 59. The always-in cross now clears the random-copy gate; it still fails the benchmark and both-halves gates, so the verdict is unchanged.
- We called the always-in cross's trade count "flips". It counts trades: each flip ends one trade and starts the next.
- We said 100 trades "cannot" tell skill from luck. That depends on the size of the effect and how correlated the trades are; the text now says so.
The original pre-registration, results and test ledger are unchanged; these corrections are new, dated files. Evidence files
Short answers (FAQ)
Is 100 trades enough to test a strategy?
Often not. It depends on how big the effect is and how correlated the trades are. With 100 trades, a rule with no edge can show a profit by chance. We used thousands and compared with random entries.
Is the 9/21 EMA better on stocks or crypto?
Neither passed. On daily US stocks it lowered the worst drop and also lowered the return.
Is this advice?
No. It reports what happened to a set of rules in a historical backtest. General information only.
More trending techniques we tested
- Does the opening range breakout work? An hourly crypto version, backtested
- Does the ICT Asia session liquidity sweep work? An hourly crypto version, backtested
- Does the VWAP and 9 EMA strategy work? An hourly crypto version, backtested
- The 200-day line, the golden cross and Uptober: tested on 18 coins including Bitcoin
- Five widely discussed trading techniques of autumn 2026, tested
- Every popular rule we tested
How we set the rules, costs and pass bar before running anything: the Tickfloor testing standard. The wider record is on the evidence page.