CDLPIERCING
Summary
Two-candle pattern: a long black candle followed by a long white candle that opens below the prior low and closes back above the midpoint of the prior black body. Bullish reversal signal. A hit (+100) is a bullish reversal signal.
Notes
- A prior downtrend is not verified.
Inputs
inPriceOHLC— OHLC price series (open, high, low, close)
Outputs
outInteger— +100 when the piercing pattern is detected; 0 otherwise. Always bullish, never emits -100
Implementation
TA-Lib Definition: cdlpiercing.c · cdlpiercing.yaml
| Native | File |
|---|---|
| C | ta_CDLPIERCING.c |
| Rust | cdlpiercing.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Piercing Pattern, Piercing Line