CDLINVERTEDHAMMER
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
inOpen— Open price of each barinHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outInteger— +100 when the inverted hammer is detected, 0 otherwise. Never emits -100; the pattern is always bullish
Properties
Numerical Stability: Start-Independent
| Display Flags |
|---|
| ☐ Overlap Input |
| ✅ Independent Y-Axis i |
| ✅ Candlestick i |
Implementation
TA-Lib Definition: cdlinvertedhammer.c · cdlinvertedhammer.yaml
| Native | File |
|---|---|
| C | ta_CDLINVERTEDHAMMER.c |
| Rust | cdlinvertedhammer.rs |
| Java | Core_CDLINVERTEDHAMMER.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Inverted Hammer