Inside day after a wide-range down day, stop under its low
Buy an inside day that follows a wide-range down day, with the stop under the inside day's low.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.281R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs −0.024R
By trade and by day, sized to a first try
What the numbers say
On 1411 laggard trades, the average result was −0.281R after costs, against −0.156R on the winners. In bull markets it was −0.336R over 1030 trades (t −5.82), and it beat only 15% of random-date draws. Flat (−0.165R) and bear (−0.076R) markets were also negative. The verdict follows from the negative result on laggards.
How it was tested
Buy at the close of an inside day that follows a wide-range down day, with a stop just under the inside day's low and a target at twice the risk.
- Side
- Long
- Time limit
- Exit at the close after 10 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
- 'Wide-range' means a true range of at least 1.5 x ATR(14), using the ATR as of the day before the wide-range day.
- 'Down day' means close below open.
- 'Inside day' means a strictly lower high and strictly higher low than the prior day.
- 'Under the inside day's low' is a 0.1 x ATR(14) buffer below that low, so ordinary noise does not trigger the stop.
- No target was given, so the target is set at twice the risk (2R).
- No holding period was given, so the trade exits at the close after 10 trading days if neither bracket is hit.
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,030 | −0.336R | −5.82 | −4.95 · 640d | −0.274R · beats 15% | −0.182R |
| Flat | 248 | −0.165R | −1.47 | −1.60 · 152d | −0.228R · beats 70% | +0.021R |
| Bear | 133 | −0.076R | −0.54 | −0.13 · 78d | −0.233R · beats 70% | −0.336R |
| All | 1,411 | −0.281R | −0.262R | −0.156R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 13.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
from scanners.base import Candidate
class InsideDayAfterWideRangeDownDayLong:
name = "inside_day_after_wide_range_down_day_long"
description = "Long at close of an inside day following a wide-range down day, stop under inside low, 2R target"
def __init__(self, atr_period: int = 14, wide_mult: float = 1.5, stop_buf: float = 0.1, target_r: float = 2.0) -> None:
self._atr_period = atr_period
self._wide_mult = wide_mult
self._stop_buf = stop_buf
self._target_r = target_r
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._atr_period + 5:
return None
t = bars[-1]
w = bars[-2]
p = bars[-3]
# (1) wide-range down day at t-1
if not (w.close < w.open):
return None
atr_prior = atr(bars[:-2], self._atr_period)
if atr_prior is None or atr_prior <= 0:
return None
atr_prior_d = Decimal(str(atr_prior))
tr_w = max(w.high - w.low, abs(w.high - p.close), abs(w.low - p.close))
if tr_w < Decimal(str(self._wide_mult)) * atr_prior_d:
return None
# (2) inside day at t (strict)
if not (t.high < w.high and t.low > w.low):
return None
atr_now = atr(bars, self._atr_period)
if atr_now is None or atr_now <= 0:
return None
atr_now_d = Decimal(str(atr_now))
entry = t.close
stop = t.low - Decimal(str(self._stop_buf)) * atr_now_d
risk = entry - stop
if risk <= 0:
return None
target = entry + Decimal(str(self._target_r)) * risk
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
# signal strength: wide-range magnitude, compression, close position
wide_ratio = float(tr_w / atr_prior_d)
wide_score = min(40, max(0, int((wide_ratio - self._wide_mult) * 40) + 15))
w_range = max(w.high - w.low, Decimal("0.01"))
comp = float((t.high - t.low) / w_range)
comp_score = min(30, max(0, int((1.0 - comp) * 30)))
close_pos = float((t.close - t.low) / max(t.high - t.low, Decimal("0.01")))
close_score = min(30, max(0, int(close_pos * 30)))
strength = max(0, min(100, wide_score + comp_score + close_score))
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=strength,
thesis="Inside day after a wide-range down day: selling stalled and volatility contracted; long at close with stop under inside low and 2R target.",
)
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.