20 EMA Pullback: does it work?
Last updated
In-sample, not a promise. Every figure we measured here comes from a backtest on past data.
Did 20 EMA Pullback beat the benchmark in Tickfloor's test?
No. We tested 20 EMA Pullback on 40 US stocks, 2016 to 2025. After costs, it returned 12.7 percentage points a year less than the benchmark. None held up once we allowed for the many other rules we tested. This is a historical test of the rule as described, not a prediction or advice.
Swing-trading videos teach buying a dip to the rising 20-day EMA in an uptrend, with the 50 EMA as the line in the sand.
The rule we tested. In an uptrend (20 EMA above 50 EMA), buy a touch of the 20 EMA that closes back above it, and exit on a close below the 50 EMA, on daily bars across 40 US stocks.
- Swing pullback to the rising 20 EMA: buy a touch-and-close-above in an EMA20 > EMA50 uptrend, exit on close < EMA50, US stocks 1d x40 −12.7 pts/yr vs the benchmark, 1,662 trades, p=1.000, corrected q=1.000
Receipt: parameters, data, window and result file
- Run id
- t1010-ema20-pullback-s, run 10 October 2026
- Frozen parameters
- timeframe 1d; fast=20, slow=50
- Data source
- vendor not recorded in the result file; data fingerprint sha256 f8bd56551e6502b2...
- Instruments and coverage
- 40 assets: AAPL, NVDA, AMZN, GOOGL, META, TSLA, JPM, V, UNH, XOM, JNJ, COST and 28 more (full list in the result file). 9 corrupt vendor bar-day(s) across 9 assets were dropped, never repaired
- Date window
- 25 November 2016 to 14 March 2025 (discovery cutoff 15 March 2025)
- Sample
- 1,662 completed trades over 25 November 2016 to 14 March 2025 (8.3 years)
- Cost rule
- 0.05% per side; charged on every change in position; benchmark pays none; no funding/borrow on shorts
- Fill rule
- not recorded
- Benchmark
- equal-weight long of the same assets, rebalanced daily across assets trading that day (no costs)
- Rule source (public)
- research/hunt2/strategies/t1010-ema20-pullback-s.mjs
- Run record (public)
- research/hunt2/ledger.jsonl, line with id t1010-ema20-pullback-s
- Full result file
- not published yet
No. None of the versions we tested passed. None held up once we allowed for how many other rules we tested. That covers the versions, costs and benchmark described here, not every version of the rule.
Tested a rule of your own? Check whether your backtest is just luck. It is free and needs no account.
Failed: only the tested version above. Not tested: Other EMA lengths; crypto; stop-loss and profit-target variants. A result for the tested version says nothing about these.
This is one line in a bigger check. The research desk has run 1,346 strategies, most against an equal-weight benchmark of the same assets rebalanced daily that pays no costs (the strategies pay theirs). After correcting for how many we tried (the luck check, Benjamini‑Hochberg, 1,778 tests), 0 passed. That does not prove no strategy works, and it says nothing about versions we did not test.
Short answers: the verdict and the rule, as questions
Does buying the pullback to the 20 EMA work?
No. None of the versions we tested passed. After costs: US stocks −12.7 pts/yr vs the benchmark. None held up once we allowed for how many other rules we tested. That covers the versions, costs and benchmark described here, not every version of the rule.
What exact rule did Tickfloor test?
In an uptrend (20 EMA above 50 EMA), buy a touch of the 20 EMA that closes back above it, and exit on a close below the 50 EMA, on daily bars across 40 US stocks.
Is this financial advice?
No. This measures a publicly claimed strategy rule, not a recommendation. General information only, not personal advice.
See the full numbers on the Popular indicator rules family page, or the full method and every result.
Linked from this page
Other rules we've tested
Terms explained
Next steps
- See a full worked example (free, no account)
- Start lesson 1 of the course (free)
- Run your own version of this rule in the Backtest Lab (needs a pass)
General information only. It doesn't consider your objectives, finances or needs. Tickfloor holds no financial services licence and never places trades.