Skip to content
The Casebook · A classic strategy

Morning star candle pattern at a 20-day low

Buy a morning star (a down day, a small-body day, then a strong up day) at a 20-day low.
VerdictTested Nov 22, 2026

Loses money

After costs it lost money on the stocks that decide the verdict.

  • −0.084R a trade after costs on the laggard stocks.
Trades on the laggards
121

42 large US stocks, 15 years

Per trade, after costs
−0.084R

Before costs +0.022R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

Across 121 trades on the laggard stocks the idea averaged −0.084R after costs; before costs it was about 0.022R, so trading costs account for the gap. In bull markets it was −0.133R, near the −0.0927R that random dates gave, and beat only 50% of random draws. The flat and bear results were small and rested on few trades.

How it was tested

Buy at the close when a three-bar morning star pattern completes while the pattern sits at a 20-day low.

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
Choices made where the idea was open
  • Down day with large body: close < open and body >= 60% of the day's range and >= 0.5 x ATR(14)
  • Small-body day: body <= 30% of that day's high-low range
  • Strong up day: close > open, body >= 60% of range, and close above the midpoint of the first day's body (classic morning star confirmation)
  • 20-day low: the small-body (middle) day's low is the lowest low of the last 20 bars including itself
  • Stop is the lower of 1 x ATR(14) below entry or just below the pattern low; target is 2R, both chosen because the idea named none
  • Time exit after 10 trading days chosen because the idea named no holding period

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.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull91−0.133R−1.11−1.23 · 70d−0.093R · beats 50%−0.023R
Flat19+0.039R0.160.38 · 16d−0.016R · beats 55%+0.072R
Bear11+0.115R0.280.57 · 10d+0.041R · beats 45%+0.154R
All121−0.084R−0.069R+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 15.0 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 code
from decimal import Decimal

from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate


class MorningStarAt20DayLow:
    name = "morning_star_at_20_day_low"
    description = "Morning star completing at a 20-day low, long at the close."

    def __init__(self, atr_period: int = 14, low_lookback: int = 20,
                 big_body_frac: float = 0.6, small_body_frac: float = 0.3,
                 atr_body_mult: float = 0.5, stop_atr_mult: float = 1.0,
                 pattern_buffer_atr: float = 0.1, target_r: float = 2.0) -> None:
        self._atr_period = atr_period
        self._low_lookback = low_lookback
        self._big = Decimal(str(big_body_frac))
        self._small = Decimal(str(small_body_frac))
        self._atr_body_mult = Decimal(str(atr_body_mult))
        self._stop_atr_mult = Decimal(str(stop_atr_mult))
        self._buffer = Decimal(str(pattern_buffer_atr))
        self._target_r = Decimal(str(target_r))

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        need = max(self._low_lookback, self._atr_period + 1) + 3
        if len(bars) < need:
            return None
        b2 = bars[-3]
        b1 = bars[-2]
        b0 = bars[-1]

        atr_val = atr(bars, self._atr_period)
        if atr_val is None or atr_val <= 0:
            return None
        atr_dec = Decimal(str(atr_val))

        # (1) large down day at t-2
        range2 = b2.high - b2.low
        if range2 <= 0:
            return None
        body2 = b2.open - b2.close
        if not (b2.close < b2.open):
            return None
        if body2 < self._big * range2:
            return None
        if body2 < self._atr_body_mult * atr_dec:
            return None

        # (2) small body at t-1 with 20-day low (including itself)
        range1 = b1.high - b1.low
        body1 = abs(b1.close - b1.open)
        if body1 > self._small * range1:
            return None
        window = bars[-1 - self._low_lookback:-1]
        if len(window) < self._low_lookback:
            return None
        if b1.low > min(b.low for b in window):
            return None

        # (3) strong up day at t
        range0 = b0.high - b0.low
        if range0 <= 0:
            return None
        body0 = b0.close - b0.open
        if not (b0.close > b0.open):
            return None
        if body0 < self._big * range0:
            return None
        mid2 = (b2.open + b2.close) / 2
        if b0.close <= mid2:
            return None

        entry = b0.close
        pattern_low = min(b2.low, b1.low, b0.low)
        stop = min(entry - self._stop_atr_mult * atr_dec,
                   pattern_low - self._buffer * atr_dec)
        risk = entry - stop
        if risk <= 0:
            return None
        target = entry + self._target_r * risk
        rr = (target - entry) / risk

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=50,
            thesis="Morning star completed at a 20-day low; long at close with ATR/pattern-low stop 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.

Have an idea of your own?

Describe it in plain words and get the same honest test in about a minute.

Run the Gauntlet
Morning star candle pattern at a 20-day low: Loses money · EdgeProven