An engulfing pattern is a classic two-candle reversal formation used in technical analysis. It occurs when a primary candlestick is completely overshadowed, or "engulfed," by the body of the immediately following candlestick.
On the left, a green body covers the prior red body. On the right, a red body covers the prior green body. Only the bodies decide whether either pair qualifies; the wicks can fall anywhere.
The "Body-Only" Rule
In technical candlestick analysis, every candle consists of two components:
The Body: The solid range between the Open and the Close. This represents where price was willing to settle during the period.
The Wicks (Shadows): The thin lines extending to the High and the Low. These indicate intraday price probes that were rejected.
Candlestick Body = |Close − Open|
Total Candle Range = High − Low
Core Principle
An engulfing pattern is defined strictly by candlestick bodies. The wicks (highs and lows) are completely ignored when identifying whether a pattern qualifies mathematically.
To quantify candlestick patterns across thousands of historical bars, definitions must be strictly mechanical. The analytical engine checks four mandatory mathematical conditions simultaneously.
Mathematical Qualification Rules
Bullish Engulfing Qualification Rules
Prior Bar Direction: Close(t−1) < Open(t−1) [Prior bar was RED]
Current Bar Direction: Close(t) > Open(t) [Current bar is GREEN]
Lower Body Boundary: Open(t) ≤ Close(t−1) [Opens at or below prior C]
Upper Body Boundary: Close(t) ≥ Open(t−1) [Closes at or above prior O]
Bearish Engulfing Qualification Rules
Prior Bar Direction: Close(t−1) > Open(t−1) [Prior bar was GREEN]
Current Bar Direction: Close(t) < Open(t) [Current bar is RED]
Upper Body Boundary: Open(t) ≥ Close(t−1) [Opens at or above prior C]
Lower Body Boundary: Close(t) ≤ Open(t−1) [Closes at or below prior O]
Note on Tie-Breakers
The engine uses "at or below" (≤) and "at or above" (≥). If a candle opens precisely at the prior close and closes precisely at the prior open, it meets qualification.
Weekly Bar Aggregation: Weekly bars take the Open of the first trading day of the week, the Close of the final trading day, the Highest High, and the Lowest Low across all trading sessions that week.
Minimum History Filter: To prevent false statistical signals on newly listed assets, tickers must possess a minimum of 30 daily bars and at least 20 bars in the chosen timeframe.
Chapter 3
How Traders Use It
Trading Trend Continuation
While often seen at reversals, traders frequently use engulfing candles to trade trend continuation during pullbacks within an established trend:
Bullish Trend Continuation: In an overall uptrend, price briefly pulls back. A bullish engulfing candle appears, signaling that the pullback has ended and buyers are stepping back in aggressively. Traders place a Buy Stop slightly above the engulfing candle's high.
Bearish Trend Continuation: In an overall downtrend, price briefly rallies. A bearish engulfing candle forms, signaling the counter-trend bounce has failed and sellers are resuming control. Traders place a Sell Stop slightly below the engulfing candle's low.
Risk Management & Trade Mechanics
Entry: Triggered as soon as the engulfing candle closes, or when price breaks the high/low of the engulfing candle in the direction of the trend.
Stop Loss:
Standard Stop: Placed just beyond the low of the bullish engulfing candle (or the high of the bearish engulfing candle).
Conservative Stop: Placed beyond the recent swing high or low for extra room against random swings.
Profit Targets: Managed using fixed Risk-to-Reward multiples (e.g., 2R or 3R) based on the size of the engulfing candle.