The 21 EMA pullback strategy buys a stock that is already trending up, at the moment a short dip ends. Strong trends rarely move in a straight line: they advance, pause and pull back toward a short-term average before advancing again. Buying a pullback to the 21-day exponential moving average gives a lower entry than a breakout and a natural place for the stop, just under the low of the day that touched the average.
Each part of the setup has a job. The trend checks (the price above a 50-day SMA that is above the 200-day, and the 21 EMA rising) keep the strategy from buying dips in a falling stock. The extension rule, a recent high at least 5% above the average, makes sure the dip is a pause after strength rather than aimless drift. And waiting for the next session to close above the dip day's high asks the market to show that buyers have returned before any money goes in.
Buying pullbacks in a trend is long-standing swing-trading practice. The closest published version is the pullback setup Linda Raschke and Laurence Connors described in Street Smarts (1995), which used a 20-period average and the ADX indicator to confirm the trend. This preset keeps their entry, a buy above the high of the bar that touches the average, and replaces ADX with moving-average trend checks.
The exact rules
These are the rules the Trend Pullback (21 EMA) preset runs in Clear Tape, checked on daily bars after each close. This page and the software read the same rulebook, so they always agree.
Entry
- Trend: the close is above the 50-day SMA, the 50-day SMA is above the 200-day SMA, and the 21-day EMA is higher than 5 sessions ago.
- Extended first: within the last 10 sessions (today included) a high was at least 5% above today's 21-day EMA.
- Setup day: while the trend holds, the day's low touches or dips below the 21-day EMA. The buy-stop is one cent above that day's high.
- Entry: the next session closes above the setup day's high. Buy at that close.
Stop
- One cent under the setup day's low. If one cent under the 50-day SMA is higher than that and still more than 1 × ATR(14) below the buy-stop, that level is used instead.
Exit
- The 2R target is reached (a day's high touches it), or two closes in a row below the 21-day EMA (sell at the second close).
Target
- Entry + 2R (twice the entry-to-stop distance). The trade is closed there.
Parameters
| Parameter | Value |
|---|---|
| Pullback average | EMA 21 |
| EMA rising | vs 5 sessions ago |
| Extension | a high ≥ 5% above the EMA in the last 10 sessions |
| Trend | close > SMA 50 > SMA 200 |
| ATR length | 14 |
| Target | 2R |
| Exit | 2 closes in a row below the EMA 21 |
| Minimum history | 220 sessions |
Data it needs
- Daily bars (open, high, low, close), split-adjusted: at least 220 sessions, about 10 months.
Where it differs from the published method
- The published pullback setup uses ADX(14) above 30 and a 20-period average; this preset uses moving-average trend checks and the 21-day EMA instead.
- The research version also allows an exit at the prior swing high. It is left out because a swing high has no single definition; the 2R target and the EMA rule cover it.
Terms used
- EMA (exponential moving average): An average of closing prices that gives recent days more weight (each new close counts 2/(n+1)), so it turns sooner than an SMA of the same length.
- SMA (simple moving average): The plain average of the last n closing prices, today included. "The 50-day SMA" averages the last 50 closes.
- ATR (average true range): A stock's typical daily move. Each day's true range is the largest of high − low and the distances from the previous close to the high and to the low (so gaps count); ATR(n) averages it Wilder's way (each new day counts 1/n). A stop set in ATRs sits farther away on a jumpy stock.
- Buy-stop: A level one cent above a setup day's high, where a buy-stop order could sit at a broker. The system itself counts the entry only when the next session closes above the setup day's high.
- R (risk per share): Entry minus stop. A 2R target sits twice that distance above the entry.
Who it suits
Traders who cannot watch the session but can run a short routine each evening, and who prefer shorter, more frequent trades. Gap risk must be accepted.
This strategy suits traders who cannot watch the market during the day but can run a short routine each evening to scan for setups and place orders. Trades are shorter than with the breakout strategies, usually days to a few weeks, and each has a fixed 2R target, so the whole plan, entry, stop and target, is known before you buy.
Because stops are close and gains are capped at 2R, results are sensitive to costs and to gaps. A gap through the stop after earnings can cost two or three times the planned loss, so many traders avoid holding a pullback trade through a report. Smaller accounts can trade it, but first check what commissions and slippage do to a 2R target in the trading cost calculator.
Strengths
- Pullbacks give a lower entry price and an obvious place for the stop.
- Decided once a day after the close; no need to watch the session.
- Two families cover trending markets and choppy markets in a long uptrend.
- Mean-reversion trades exit on strength, typically within two to six sessions.
Weaknesses
- Overnight and earnings gaps can turn a planned 1R loss into 2R or 3R.
- Mean reversion: small gains, with occasional losses several times larger.
- Thin average gains make results sensitive to trading costs.
- Depends on the market: trend entries lose in ranges, dip buys in declines.
Where it struggles: When the trend is ending: the 'pullback' turns out to be the first leg down, as in stocks that are topping.
Common mistakes
- Buying the touch instead of the turn. The setup day is not the entry; the entry is the next close above its high. Buying as the price falls to the average means buying before there is any sign that the dip has ended.
- Buying pullbacks in a stock that is topping. When a trend is ending, the first pullback to the 21 EMA is often the first leg down. The trend checks are there to screen this out; do not override them because a chart looks cheap.
- Ignoring the extension rule. A stock that has drifted along its average without first stretching 5% above it is not pulling back from strength, and dips in a flat stock fail more often.
- Moving the stop or the target. Both are set before entry. Holding past the target because the trade feels strong, or lowering the stop after a weak day, changes the system you are trading. The risk-reward calculator puts the plan into numbers.
- Holding through earnings. A report can gap the price well below a close stop; check the earnings date before you enter.
Worked example
Illustrative numbers only. A stock is in an uptrend: it closes above its 50-day SMA, the 50-day is above the 200-day and the 21 EMA is rising. In the last 10 sessions it made a high of $106, more than 5% above today's 21 EMA of $99. Today, the setup day, its low of $98.51 dips below the 21 EMA and its high is $102. The next session closes at $102.50, above $102, and the strategy buys at that close.
The stop is one cent under the setup day's low, $98.50 (the 50-day SMA, at $94, is lower, so it is not used). Risk per share is $102.50 − $98.50 = $4, so the 2R target is $102.50 + $8 = $110.50. With a $25,000 account and 1% risk ($250), the position is 62 shares, about $6,355; check it in the position size calculator. If a day's high reaches $110.50, the trade closes for about $496, 2R before costs; if the stop is hit, the loss is $248, or 1R. If neither happens and the stock closes below the 21 EMA two days in a row, it is sold at the second close.
Learn and practise
Academy lessons
- Swing trading: pullbacks and mean reversion: Buying pullbacks in trends
- Growth stocks and relative strength: Buy points for leaders: bases, breakouts, volume pivots and earnings gaps
Calculators and guides
- Moving averages: SMA and EMA
- Stop-loss placement: where to put a stop
- Risk-reward ratio: targets, stops and win rate
- Risk-reward calculator
- Position size calculator
- Trading journal template
Glossary terms
Using it in Clear Tape
- Free Turn on the Trend Pullback (21 EMA) preset in Trading systems. The rules are written out in full, and you can build your own systems from them (Free: up to 5 systems and a 50-stock watchlist).
- Tools After every close, Trend Pullback (21 EMA) screens your watchlist and lists its signals, with the entry, the stop and the target drawn on the chart.
- Free Check against my system: every rule of Trend Pullback (21 EMA) on any stock's daily bars, the levels it sets and the caveats (earnings close by, thin trading, gaps wider than the stop), with a short AI-written explanation of those facts. One check a day on Free as a trial, 10 on Tools, 30 on Pro.
- Tools Backtest Trend Pullback (21 EMA) with the holdout test: judged on 2000–2014, then run unchanged from 2015 to now against holding the same stocks, with your own costs and risk per trade (Tools 20 backtests a day, Pro 50). Results are hypothetical: each report discloses costs and survivorship bias, and past results do not predict future ones.
- Free Log the trades in the free trade journal, tagged with the system: R multiples, expectancy and an AI score of how closely each trade followed the plan.
- Pro The AI trading-system coach proposes rules from the way you actually trade (Pro, 5 conversations a month).
For educational purposes only. Not investment advice. Backtest results are hypothetical and do not predict future results.