CDLINVERTEDHAMMER
Summary
Single-candle pattern: a small real body with a long upper shadow and little-to-no lower shadow that gaps down from the prior candle. Bullish reversal signal. A hit (+100) flags a potential bullish reversal.
Notes
- Does not verify the preceding downtrend that the pattern classically assumes; it only checks the gap down from the immediately preceding candle.
Inputs
inPriceOHLC— Open, High, Low, Close price series
Outputs
outInteger— +100 when the inverted hammer is detected, 0 otherwise. Never emits -100; the pattern is always bullish
Implementation
TA-Lib Definition: cdlinvertedhammer.c · cdlinvertedhammer.yaml
| Native | File |
|---|---|
| C | ta_CDLINVERTEDHAMMER.c |
| Rust | cdlinvertedhammer.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Inverted Hammer