At a glance
- Engulfing bar
- A bar whose body covers the prior bar body
- Pin bar
- A bar with a long wick and small body
- What each shows
- Absorption, and rejection, respectively
- Required context
- A trend and a pre-identified level
Key takeaways
- An engulfing bar shows that one side took control decisively within a single period, reversing the prior period entirely.
- A pin bar shows that price was pushed to a level and rejected, which identifies where opposing orders sit.
- Both are only meaningful at a pre-identified level within a defined trend; in isolation they occur constantly and mean nothing.
- The bar itself provides the invalidation level, which is its most practical contribution to a trade.
- Larger bars mean wider stops and smaller positions, which automatically penalises entering after a violent move.
Precise definitions
BULLISH ENGULFING
close > open (current bar is up)
close > previous bar high (strict version)
open < previous close
body size > 1.2 x average body of last 10 bars
BULLISH PIN BAR (hammer)
lower_wick = min(open, close) - low
body = |close - open|
upper_wick = high - max(open, close)
lower_wick > 2 x body
lower_wick > 2 x upper_wick
close in the upper 35% of the bar range
bar range > 0.8 x ATR(14) (meaningful size)
Bearish versions are the mirror image.
The strict engulfing definition (close above the prior HIGH
rather than the prior OPEN) is far more selective and
performs considerably better in testing.The last note matters. The textbook engulfing definition only requires the body to cover the prior body, which occurs constantly. Requiring the close to exceed the prior bar’s high is a much stronger condition and dramatically reduces the number of signals while improving their quality.
What each bar represents
| Bar | Order flow interpretation | What it identifies |
|---|---|---|
| Bullish engulfing | Sellers opened lower and were overwhelmed by buyers through the whole prior range | A shift in control within one period |
| Bearish engulfing | The mirror image | Supply overwhelming demand |
| Bullish pin bar | Price was driven down and buyers absorbed the selling, closing near the high | A price level where demand exists |
| Bearish pin bar | Price was driven up and rejected | A price level where supply exists |
| Pin bar at a known level | The level held under pressure and produced a visible response | Confirmation that the level is real |
| Engulfing after a pin bar | Rejection followed by decisive follow-through | The strongest two-bar combination |
The context that makes them work
Both bars occur many times per month on any chart. What distinguishes a tradeable instance is entirely contextual.
- Trend alignment. A bullish pin bar in an uptrend is a pullback ending. The same bar in a downtrend is a counter-trend bounce.
- Level. The bar must occur at a level identified beforehand: a prior swing low, a range boundary, a high-volume node, or a prior session extreme.
- Size. A bar smaller than average carries little information. Require the range to exceed a fraction of ATR.
- Position within a move. After an extended run, a rejection carries more weight than in the middle of a range.
- Volume, where available. Above-average volume on the rejection supports the interpretation that real absorption occurred.
- No conflicting event. A rejection bar immediately before earnings or a policy decision is about to be overwritten by news.
Trading rules
- Setup
- An established trend (structure-based), a pullback into a pre-identified level, and a qualifying bar at that level.
- Entry
- A buy stop just above the signal bar high, valid for two bars only. Entering at the close of the signal bar is an alternative with a worse hit rate and a better price.
- Stop
- Below the signal bar low plus a 0.25 ATR buffer. This is the level at which the rejection has failed.
- Size rule
- If the stop distance exceeds 1.5 to 2 ATR, skip the setup. A very large signal bar means the risk is too wide relative to the likely follow-through.
- Target
- Partial profit at the prior swing high, then trail the remainder below successive swing lows.
- Time stop
- If the entry order does not trigger within two bars, cancel it. Stale signals lose their context.
- Filter
- Do not take signals against the higher-timeframe structure. This single rule removes most losing instances.
Frequently asked questions
What is the difference between a pin bar and a hammer?
They describe the same structure. Hammer and shooting star are the traditional candlestick names for bullish and bearish versions, while pin bar is the price action term. The numeric definition, a long wick at least twice the body with the close near the opposite extreme, is identical.
Should I enter at the close of the signal bar or on a break of it?
A break of the bar’s extreme requires confirmation and reduces false signals substantially, at the cost of a worse entry price and some missed moves. Entering at the close gives a better price and a higher failure rate. Test both on your instrument; for most traders the confirmation version is the safer default.
Do engulfing bars work on their own?
Not reliably. They occur frequently, and unfiltered they behave close to random. Their value comes from occurring at a pre-identified level in the direction of the established trend. Every serious test of these patterns finds that context contributes far more than the bar shape.
What timeframe do these bars work best on?
Daily and 4-hour. Each bar then represents a meaningful period of collective decision-making. On very short timeframes, bars with long wicks occur constantly as a product of microstructure noise, and the rejection interpretation no longer applies.
How do I avoid taking too many of these signals?
Require all three filters: an established trend, a level identified before price reached it, and a bar size above a threshold but below your maximum stop distance. Applied together these typically reduce candidate signals by more than 80 percent, which is the point.
Test this idea before you trade it
Describe the rules in plain language and AlgoTrader AI turns them into a structured strategy blueprint with a configurable historical backtest, cost assumptions, and exportable code.
Build a backtestKeep reading
- PatternsCandlestick Patterns Guide: The Ones Worth Knowing
- PatternsPrice Action Trading: Reading the Market Without Indicators
- PatternsSupport and Resistance: Why Levels Work and How to Find Them
- PatternsMarket Structure Explained: Highs, Lows, and What Changes a Trend
- StrategiesSwing Trading Strategy: A Complete Guide for Working People
- IndicatorsATR Indicator Guide: The Most Useful Number in Risk Management
Referenced by
Educational use only. This guide explains how a strategy works. It is not investment advice, not a recommendation, and no result described here is a forecast. Test any approach on historical and out-of-sample data, size positions conservatively, and never risk money you cannot afford to lose.