Skip to content
The Casebook · A classic strategy

Bullish engulfing candle after a 5-day decline

Buy a bullish engulfing candle after a 5-day decline.
VerdictTested Nov 22, 2026

Killed by costs

There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).

  • +0.072R a trade before costs, −0.017R after the spread and the selection haircut.
Trades on the laggards
224

42 large US stocks, 15 years

Per trade, after costs
−0.017R

Before costs +0.072R

Bar to clear
t > 2.01

By trade and by day, sized to a first try

What the numbers say

Across 224 laggard trades the idea averaged +0.072R before costs but −0.017R after them, so costs erased the edge. On the 20 winners it was −0.072R. In bull markets it was −0.008R, flat markets +0.081R (t 0.62), bear markets −0.258R.

How it was tested

Go long at the close of a bullish engulfing candle that follows five consecutive lower closes.

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
  • "5-day decline" = five consecutive lower closes ending on the day before the engulfing candle
  • Engulfing is judged on candle bodies (open/close), not wicks, with equality allowed at the edges
  • The prior candle must itself be bearish (close below open)
  • Entry at the close of the engulfing candle
  • Stop is 2 x ATR(14) below entry or the signal candle's low, whichever is lower; target is 2R
  • Max hold of 10 trading days since the idea names no exit

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
Bull140−0.008R−0.08−0.17 · 121d−0.051R · beats 70%−0.169R
Flat56+0.081R0.620.55 · 43d−0.008R · beats 60%+0.162R
Bear28−0.258R−1.42−1.31 · 18d+0.046R · beats 15%+0.096R
All224−0.017R−0.028R−0.072R

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.6 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 BullishEngulfingAfter5DayDecline:
    name = "bullish_engulfing_after_5day_decline"
    description = "Bullish engulfing candle after five consecutive lower closes; long at close."

    def __init__(self, atr_period: int = 14, atr_mult: float = 2.0, rr: float = 2.0) -> None:
        self._atr_period = atr_period
        self._atr_mult = atr_mult
        self._rr = rr

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(self._atr_period + 2, 20):
            return None
        cur = bars[-1]
        prev = bars[-2]
        # five consecutive lower closes ending the prior day
        c = [bars[-k].close for k in range(2, 7)]  # c[0]=close[t-1] ... c[4]=close[t-5]
        for i in range(4):
            if not (c[i] < c[i + 1]):
                return None
        # prior candle bearish
        if not (prev.close < prev.open):
            return None
        # current candle bullish and engulfs prior body
        if not (cur.close > cur.open):
            return None
        if not (cur.open <= prev.close and cur.close >= prev.open):
            return None

        atr_val = atr(bars, self._atr_period)
        if atr_val is None or atr_val <= 0:
            return None
        entry = cur.close
        atr_stop = entry - Decimal(str(self._atr_mult)) * Decimal(str(atr_val))
        stop = min(atr_stop, cur.low)
        risk = entry - stop
        if risk <= 0:
            return None
        target = entry + Decimal(str(self._rr)) * 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="Bullish engulfing candle after five consecutive lower closes.",
        )

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
Bullish engulfing candle after a 5-day decline: Killed by costs · EdgeProven