Skip to content

CDLHAMMER

Summary

Single-candle pattern: a small real body at the top of the range with a long lower shadow and little or no upper shadow, sitting at or near the prior candle's low. Bullish reversal signal. A hit (+100) flags a potential bullish reversal.

Notes

  • Does not verify the preceding downtrend that the pattern classically assumes; confirm the trend context yourself.

Inputs

  • inPriceOHLC — Open, High, Low, Close price series

Outputs

  • outInteger — +100 when the hammer is detected, 0 otherwise. Bullish only; never emits -100

Implementation

TA-Lib Definition: cdlhammer.c · cdlhammer.yaml

Native File
C ta_CDLHAMMER.c
Rust cdlhammer.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Hammer

See Also

CDLINVERTEDHAMMER · CDLHANGINGMAN · CDLTAKURI