CustomTradingPlatform .com
Log in Get started free
Home / Technical Analysis / Candlestick patterns / Piercing Line

Candlestick formation · Bullish

Piercing Line

What is it, in one line

Opens below the prior low, then closes above the prior midpoint.

Bullish · 2 candles · verdict: rule and thresholds below

Bullish 2 candles Traditional claim
Piercing Line — 12 price bars ending on the bar where the Piercing Line completes. The last 2 bars are the formation, shaded; the bars before them are the prior context the rule requires.
Verified example · fires the Piercing Line rule · not a schematic

What has to be true

Opens below the prior low, then closes above the prior midpoint. The engine checks the formation as an executable condition over open, high, low and close, with a trend filter applied before the count is kept.

candles = 2 candles
direction = Bullish
trend filter = prior decline
forward window = 10 bars

Method

What the engine tests

Two candles. The first is a long down candle. The second opens below the first candle’s low and closes back above the midpoint of the first body — but not above its open, which is what separates it from a bullish engulfing.

Family
Candlestick
Bars
2 bars
Direction
Bullish
Class
Reversal
Prior context
Downtrend
TA-Lib
CDLPIERCING

The traditional claim

Traditionally read as a bullish reversal, weaker than an engulfing because the recovery is partial rather than complete.

How this detection is wrong

If the second candle closes above the first candle’s open it is an engulfing, not a piercing line. The two are mutually exclusive by definition, and penetration is the parameter that sets the boundary.

The thresholds the detector uses

Published so the count can be reproduced. Every figure below is a parameter of the rule, not a preference: change one and the occurrence count changes with it.

Detection parameters for the Piercing Line
ParameterMeaningDefault
trendPeriodbars of prior trend inspected5
maxPriorSlopeprior slope must be below-1
minPriorBodyAtrthe preceding body, at least, in ATR0.5
penetrationhow far the close must push into the previous body0.5
atrPeriodbars of ATR used to size everything below14
strict
Tighter thresholds. Fewer detections, each a cleaner example.
maxPriorSlope -1.5 · penetration 0.6 · minPriorBodyAtr 0.8
loose
Wider thresholds. More detections, more marginal ones.
maxPriorSlope -0.5 · penetration 0.35 · minPriorBodyAtr 0.3
no-context
The prior-trend requirement removed, so the shape alone fires.
maxPriorSlope not applied

Easily mistaken for

These share enough geometry that a detector can return more than one of them on the same bar. The engine reports every match rather than picking a winner.

Every pair on the site that can be mistaken for another, and what separates each: the look-alikes index.

Common questions

What is a Piercing Line candlestick pattern?

Two candles. The first is a long down candle. The second opens below the first candle’s low and closes back above the midpoint of the first body — but not above its open, which is what separates it from a bullish engulfing. The detector also requires a prior downtrend, so the same shape in the wrong context is not counted.

Is the Piercing Line bullish or bearish?

It is read as bullish. Traditionally read as a bullish reversal, weaker than an engulfing because the recovery is partial rather than complete.

When is a Piercing Line not a Piercing Line?

If the second candle closes above the first candle’s open it is an engulfing, not a piercing line. The two are mutually exclusive by definition, and penetration is the parameter that sets the boundary.

How is a Piercing Line detected?

As an executable rule over open, high, low and close, with 5 named parameters — including bars of prior trend inspected 5, prior slope must be below -1, the preceding body, at least, in ATR 0.5 — all published on this page so the count can be reproduced. Strict and loose variants are defined as well, so the sensitivity of the count to those thresholds is visible rather than assumed.

Measurement pending re-run

No hit rate is published here yet. The run that would supply one was computed on engine ca6d9e36c81c; the engine is now cfb08765de7c. Its candlestick rows included the still-forming bar, and it predates the chart formations entirely, so those figures have been withdrawn rather than published with a caveat. The definition above is unaffected: it is what the detector tests, and no re-run changes it.

Same shape, opposite reading

Dark Cloud Cover

The shapes are close, and the prior trend is what decides which one fired: this rule requires a preceding downtrend, its mirror a preceding uptrend.

Dark Cloud Cover: A long up candle, then a down candle opening above its high and closing back through its middle.

How this was measured →

Other 2-candle formations

All 107 →
Bullish Doji Star A doji gapping below a long red body.
Bearish Doji Star A doji gapping above a long green body.
Bullish Kicker A gap up with no overlap at all between the two bodies.
Bearish Kicker A gap down with no overlap at all between the two bodies.

Size a trade on this setup before you take it.