Body Engulfing Candles: Apply the Four Rules Before Reading the Context

Video: Most Traders Spot Engulfing Candles Wrong. Here Are The 4 Rules.
Creator: Verified Investing
Original Video: Watch the original video
Difficulty: Beginner

The Big Idea

A larger candle does not automatically meet the source’s engulfing definition. Verified Investing requires an opposite-color pair, a specific opening relationship, and coverage of the previous real body. Learning to classify that shape accurately is the first task; deciding whether it adds useful information at a location is a separate task.

Read the Body Before the Wicks

A candle’s real body spans its open and close. The wick extends to prices traded beyond that body. A bullish candle closes above its open; a bearish candle closes below. A doji or very small body can look visually ambiguous, so numerical prices are more reliable than the display color alone.

The source’s pattern concerns engulfing the prior body. It does not require the current high and low to contain the full prior range. That distinction explains why a modest-looking candle can qualify while a dramatic wide-range candle can fail another requirement.

An outside bar is a different description: it has a high above the previous high and a low below the previous low under a strict definition. A body engulfing candle can also be an outside bar, but one does not automatically imply the other. Keep the labels separate when counting historical examples.

The Four Bullish Rules

  1. Previous direction: the earlier candle closes below its open.
  2. Current direction: the current candle closes above its open.
  3. Opening relationship: the current open is below the previous close.
  4. Body coverage: the current bullish body reaches at least the previous open, so the earlier body is contained.

The source explicitly says below for the opening condition. Our default code therefore uses a strict inequality at that boundary. It allows the current close to equal the previous open as complete coverage. That endpoint convention is made explicit because descriptions of engulfing patterns are not identical across all references and traders.

The bearish version mirrors the four conditions: previous candle bullish, current candle bearish, current open above the previous close, and current close at or below the previous open. A large red candle after another red candle fails this source definition even if its range dwarfs the earlier bar.

TestBullish conditionBearish condition
Prior bodyPrevious close < previous openPrevious close > previous open
Current bodyClose > openClose < open
Strict openingOpen < previous closeOpen > previous close
Coverage endpointClose ≥ previous openClose ≤ previous open

Classify an Original Pair With Actual Prices

Body coverage without full-range containment

These fictional daily stock prices illustrate the definition, not any source chart.

StepObservation or calculationMeaning
Previous candleOpen 52; close 50; high 53; low 49A bearish body from 50 to 52.
Current candleOpen 49.75; close 52.25; high 52.50; low 49.50Bullish; opens below 50; closes above 52.
Body comparison49.75–52.25 contains 50–52All four bullish conditions hold.
Range comparisonCurrent high 52.50 is below the earlier high 53The pattern is not a full outside bar.

Now change only the current open to 50. The strict opening rule fails, even if the close remains 52.25. If you intentionally permit equal opens, it qualifies under a variant. Do not combine those two definitions in one sample without labeling the change.

Change the previous candle to a small bullish body instead, and the opposite-color rule fails. This is the type of near-match the presenter uses to show why visual size alone is insufficient. A failed classification is not evidence that the next move cannot rise or fall; it only means the chosen pattern is absent.

Why Strict Opening Gaps Can Make Signals Scarce

Many intraday and continuously traded charts often open a new candle at or near the previous close. A strict requirement for the next open to be below or above that close can therefore produce few matches. That can be a correct result rather than a broken indicator.

The code includes an equal-opening switch for comparison. It is off by default so the baseline follows the spoken rule. Turning it on deliberately broadens the definition; it is not a hidden repair that makes the original method appear more active.

Daily stock candles are a useful starting context because the source illustrates daily examples. Session selection, adjustments, and feed differences can still change the displayed open and therefore classification. Save those settings when comparing results. Synthetic candles such as Heikin Ashi do not represent the same raw open/close observations, so the indicator requires standard candles.

A Two-Candle Shape Is Not a Complete Trend

The presenter interprets engulfing as a possible momentum shift and does not promise an immediate straight-line move. A previous red candle alone does not establish a downtrend, just as a previous green candle does not establish a sustained advance. A reversal claim needs a prior condition to reverse.

For an optional context experiment, the code can require the previous close to be below EMA 20 before a bullish pattern, or above it before a bearish pattern. That switch is off by default. It is our simple prior-price-location proxy, not the creator’s four-rule definition or a full multi-swing trend assessment.

Likewise, confluence should specify what another observation contributes. A pattern at a premarked support area is a different research category from a pattern in the middle of a range. Adding several correlated indicators does not automatically increase a measured probability or make an entry suitable.

Do Not Turn the Example’s Outcome Into an Exit Rule

The source illustrates several stock charts but supplies no complete universal entry, stop, target, sizing, or exit algorithm. The indicator can classify the candle definition faithfully without inventing those missing rules. A marker means a pair qualified at the completed close, not that a purchase or short was executed there.

A hypothetical trade needs more than the pattern

Use the fictional bullish example’s completed close of 52.25, an independently chosen stop at 49.25, and target at 58.25. Costs and gaps are omitted.

StepObservation or calculationMeaning
Entry proposal at 52.25Risk 3.00; reward 6.00Nominal 2R to the chosen target.
Next available fill at 53.25Risk 4.00; reward 5.00Only 1.25R remains to that same target.
Planned $120 distance budget40 units at the first price; 30 at the secondSize must be recalculated for the actual proposal.
Pattern high or low plottedA chart referenceIt is not an active broker order or a guaranteed executable exit.

The stop and target in this example are original assumptions, not source rules. Choosing another invalidation could change both the loss distribution and permitted size. A fixed favorable excursion after the pattern also does not establish that the target was reached before the stop.

Keep Classification and Performance in Separate Columns

For a historical study, first record whether each pair meets the chosen definition. Add its location and prior trend context without seeing future candles. Then apply a separately specified execution and management policy. This makes it possible to learn whether a classification is reliable without pretending classification itself is profit.

Include bullish and bearish candidates that fail, no-pattern intervals, and pairs rejected only because of the strict opening gap. If the equal-open switch produces many more observations, that is a finding about the definition’s frequency. It is not automatically evidence of a stronger or weaker method.

The source contains a sponsor segment unrelated to the candle definition. It is not necessary to reproduce its offers, fee comparisons, or product claims to teach this pattern. No financial product endorsement is implied by the examples here.

Pine Script Indicator

View Pine Script Indicator Code
//@version=6
// Guide: https://candlechasers.com/engulfing-body-gap-four-rules/
// Original educational indicator. No orders or performance simulation.
indicator("CC Four-Rule Body Engulfing", overlay=true)
allowEqual = input.bool(false, "Allow opening equal to previous close (variant)")
useTrend = input.bool(false, "Require prior close on reversal side of EMA 20")
life = input.int(8, "Latest pattern reference display bars", minval=1)
e = ta.ema(close, 20)
bullOpen = allowEqual ? open <= close[1] : open < close[1]
bearOpen = allowEqual ? open >= close[1] : open > close[1]
bull = chart.is_standard and barstate.isconfirmed and close[1] < open[1] and close > open and bullOpen and close >= open[1] and (not useTrend or close[1] < e[1])
bear = chart.is_standard and barstate.isconfirmed and close[1] > open[1] and close < open and bearOpen and close <= open[1] and (not useTrend or close[1] > e[1])
var float bodyTop = na
var float bodyLow = na
var int born = na
if bull or bear
    bodyTop := math.max(open, close)
    bodyLow := math.min(open, close)
    born := bar_index
show = not na(born) and bar_index - born <= life
plot(math.max(open[1],close[1]), "Previous candle body high", color=color.new(color.gray, 80))
plot(math.min(open[1],close[1]), "Previous candle body low", color=color.new(color.gray, 80))
plot(useTrend ? e : na, "Optional EMA 20 context", color=color.orange)
plot(show ? bodyTop : na, "Latest engulfing body high", color=color.red, style=plot.style_linebr)
plot(show ? bodyLow : na, "Latest engulfing body low", color=color.teal, style=plot.style_linebr)
plotshape(bull, "Completed bullish body engulfing", shape.triangleup, location.belowbar, color.aqua)
plotshape(bear, "Completed bearish body engulfing", shape.triangledown, location.abovebar, color.orange)
alertcondition(bull or bear, "Four-rule body engulfing", "CC: completed two-color body-engulfing definition. No automatic trend reversal or fill.")
var table panel = table.new(position.top_right, 1, 2, bgcolor=color.new(color.black, 10))
if barstate.islast
    table.cell(panel, 0, 0, not chart.is_standard ? "Use STANDARD candles" : allowEqual ? "Equal-open VARIANT enabled" : "Strict opening-gap rule enabled", text_color=color.white)
    table.cell(panel, 0, 1, "Daily stock candles are a useful starting context | no wick engulf required", text_color=color.white, text_size=size.small)

What This Indicator Shows

The overlay shows previous-body boundaries even when no pattern qualifies. Triangles mark completed bullish or bearish pairs under the selected strict or equal-open definition. The latest qualifying body boundaries remain for eight bars by default; a new pattern replaces them. The optional EMA context is displayed only when enabled. There is no armed multi-stage setup, hidden backdating, or simulated position.

What This Indicator Does Not Show

It does not require full wick containment, prove a trend reversal, identify support and resistance, supply an exit algorithm, or simulate orders. Dojis fail the strict opposite-color tests. Equal-opening inclusion and optional EMA context are separately labeled variants. The saved body lines are visual references, not wick-extreme stops, and their expiry is display behavior rather than trade management.

Setup and Validation

Paste the complete code into TradingView’s Pine Editor, save it, and add it to the chart. Use the chart type, timeframe, and context described above, then inspect the status panel and reference plots before expecting a marker. Use Once Per Bar Close for the supplied alert conditions and recreate alerts after changing code or settings. No alert submits an order.

Validation status: Statically reviewed for completed-bar timing, source-versus-proxy distinctions, future-data use, state behavior, reference replacement and expiry, and visible output. This code has not been compiled or chart-tested in TradingView here. No historical performance or live-execution results are claimed. Use replay to check the described behavior and report any compiler or runtime message exactly.

Practice: Audit Ten Pairs Numerically

Choose ten consecutive two-candle pairs with outcomes hidden. Write each open and close, then answer the four tests one by one. Mark strict matches, equal-open-only matches, and nonmatches separately. Finally reveal the wicks and compare body engulfing with full outside bars. The first worked pair qualifies without engulfing the earlier high, while the equal-open modification fails the strict version.

Research and Comparison Lab

These are original proposed experiments, not results established by the source. Change one main feature at a time, retain failures and missing opportunities, and reserve later observations for evaluation rather than repeatedly selecting rules from the same outcomes.

How much does the opening convention matter?

Compare strict and equal-open classification on the same instrument, session, timeframe, and dates. Keep context and any evaluation policy fixed. Measure frequency, overlapping candidates, and later outcomes after costs rather than assuming the more active definition is better.

Does prior context add information?

Compare the same four-rule pairs with optional EMA context off and on. Keep opening convention, entry timing, management, and costs fixed. Record excluded pairs and whether the proxy agrees with a separately written swing-trend rubric.

What changes when wicks must also be contained?

Add full-range containment to the same body definition while changing nothing else. Record the retained sample and rejected pairs. Any performance claim requires a complete execution policy and later evaluation data, not selected chart reactions.

Check Your Understanding

Must the previous wicks be fully covered? No. This source defines body coverage.

Does a large red candle after a red candle qualify as bearish engulfing here? No. The prior candle must be bullish.

Does an equal open meet the strict bullish opening test? No. It belongs to the optional variant.

Is one previous red candle a complete downtrend? No. Broader context requires a separate definition.

Does a marker guarantee entry at its close? No. Actual execution can occur at a different price.

Final Takeaway

Classify the four rules precisely before asking what the pattern means. Then investigate context and complete trade economics separately; a cleanly labeled candle pair is a useful observation, not a guaranteed reversal or an entire trading plan.

Risk Disclosure

This material is educational and is not personalized financial, investment, or trading advice. Trading can cause substantial losses. Source-reported results, hypothetical examples, and probability illustrations do not establish future performance. Calculations depend on their assumptions and omit costs unless stated. Commissions, spread, slippage, gaps, leverage, liquidity, borrowing, financing, and changing market conditions can materially affect outcomes. Indicators do not simulate broker execution or establish profitability. Short exposure can involve losses beyond the initial sale value. Evaluate any approach with appropriate data, realistic costs, and explicit risk limits before considering live use.

This is an independent educational companion and is not affiliated with, sponsored by, endorsed by, or authorized by the source creator, channel, or TradingView.

As an Amazon Associate I earn from qualifying purchases.