Buy 2 ATR below the 10-day average, exit at the average
Buy when the price falls more than 2 ATR below its 10-day moving average and exit at the moving average.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.037R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.027R
By trade and by day, sized to a first try
What the numbers say
On the 22 laggard stocks, 3240 trades averaged −0.037R after costs, versus +0.031R on the winners. Costs account for the loss, since before costs the figure was about +0.027R. The result was negative in bull (−0.041R), flat (−0.014R) and bear (−0.057R) markets, so the verdict is a loss.
How it was tested
Buy at the close when price is more than 2 ATR(14) below its 10-day simple moving average, and exit when the close returns to that moving average.
- Side
- Long
- Its own exit
- At each close after entry, exit at that close if close >= SMA(10 of close) computed from bars up to that day., checked at each close
- Time limit
- Exit at the close after 15 trading days, unless the stop, the target or its own exit comes first
- Bar to clear
- t > 2.01, by trade and by day, sized to a first try (one idea, tested once)
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
- ATR uses a 14-day period (Wilder smoothing)
- The moving average is a simple moving average of closes
- "Falls more than 2 ATR below" is read as close < SMA(10) - 2 * ATR(14) on the signal day
- Exit at the moving average is read as the first close at or above the current SMA(10), which is recomputed each day
- Entry is at the signal-day close
- Stop (4 x ATR below entry) and target (6 x ATR above entry) are wide protective choices since the idea names none
The evidence
The laggards decide: 22 large stocks that lagged or fell, where hindsight can't flatter a rule. Today's winners sit beside them to show what survivorship would add.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 1,883 | −0.041R | −3.75 | −4.45 · 986d | −0.058R · beats 100% | +0.018R |
| Flat | 809 | −0.014R | −0.75 | −0.95 · 313d | −0.045R · beats 100% | +0.013R |
| Bear | 548 | −0.057R | −2.62 | −1.31 · 155d | −0.035R · beats 10% | +0.087R |
| All | 3,240 | −0.037R | −0.051R | +0.031R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 11.3 bps) plus 0.045R for the fills a real order wouldn't get. “By day” groups trades opened the same day, so a rule that fires on the same dates for every stock counts as a few events. “Random dates” places the same plan on random days of the same stocks in the same kind of market, 20 times; the idea must beat 95% of those draws.
The scanner we wroteShow the codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate
class AtrStretchBelowSma10Revert:
name = "atr_stretch_below_sma10_revert_to_sma"
description = "Long when close < SMA(10) - 2*ATR(14); exit when close >= SMA(10)."
def __init__(self, sma_period: int = 10, atr_period: int = 14,
stretch_mult: float = 2.0, stop_mult: float = 4.0,
target_mult: float = 6.0) -> None:
self._sma_period = sma_period
self._atr_period = atr_period
self._stretch_mult = stretch_mult
self._stop_mult = stop_mult
self._target_mult = target_mult
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < max(self._sma_period, self._atr_period + 1):
return None
closes = [b.close for b in bars]
sma_val = sma(closes, self._sma_period)
atr_val = atr(bars, self._atr_period)
if sma_val is None or atr_val is None:
return None
atr_dec = Decimal(str(atr_val))
if atr_dec <= 0:
return None
sma_dec = Decimal(str(sma_val))
current = bars[-1]
entry = current.close
threshold = sma_dec - Decimal(str(self._stretch_mult)) * atr_dec
if not (entry < threshold):
return None
stop = entry - Decimal(str(self._stop_mult)) * atr_dec
target = entry + Decimal(str(self._target_mult)) * atr_dec
if stop <= 0 or not (stop < entry < target):
return None
rr = (target - entry) / (entry - stop)
stretch = (sma_dec - entry) / atr_dec
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=50,
thesis=("Close is " + str(round(float(stretch), 2)) + " ATR below SMA(10); "
"main exit is the first close back at or above SMA(10), so the "
"nominal 6/4 R:R overstates the realized payoff."),
)
def exit_now(self, ticker: str, bars: list[Bar], entry: Decimal,
side: str, bars_held: int) -> bool:
if side != "buy":
return False
if len(bars) < self._sma_period:
return False
sma_val = sma([b.close for b in bars], self._sma_period)
if sma_val is None:
return False
return bars[-1].close >= Decimal(str(sma_val))
Hypothetical results from our own backtest of the rule as restated, on 42 large US stocks over 15 years. Past performance, real or simulated, does not predict future results. Research and education only; not investment advice.
Describe it in plain words and get the same honest test in about a minute.