Hammer

Bullish Reversal Pattern
Back

What is Hammer Pattern?

Hammer is a bullish reversal candlestick pattern that indicates a potential shift from a downtrend to an uptrend. It is considered a reliable reversal signal when it appears after a sustained decline or near a strong support level. The pattern reflects a rejection of lower prices and the beginning of buying pressure in the market.

Structure of the Pattern

The Hammer pattern consists of a single candlestick with the following characteristics:

  • Body: A small real body (bullish or slightly bearish) positioned near the top of the candle range.
  • A long lower shadow, typically at least two times the size of the body, indicating strong rejection of lower price levels.
  • Very small or negligible upper shadow, showing that the price closed near its highest point.
Hammer Structure
Pattern Structure

Key Conditions for Formation

  • The pattern must appear after a clear and sustained downtrend.
  • The lower shadow should be significantly longer than the body.
  • The upper shadow should be very small or absent.
  • The body should be small relative to the entire candle range.
  • Ideally, the candle closes near its high, showing strong buying pressure.

Detailed Explanation

The Hammer pattern represents a shift in control from sellers to buyers within a single candle. Initially, sellers dominate the market and push prices significantly lower. However, buyers step in aggressively at lower levels and push the price back up before the candle closes.

This results in a long lower shadow, which reflects rejection of lower prices. The small body near the top indicates that buyers have regained control by the end of the session.

The reliability of the pattern increases when:

  • The lower shadow is long and clearly visible.
  • The body is small and positioned near the top.
  • The candle forms after a strong or extended downtrend.
Hammer Chart Example
Chart Example

Market Psychology

The psychology behind the Hammer pattern is based on a shift in market sentiment:

This rejection of lower prices indicates that demand is emerging, and the downtrend may be losing momentum.

  • Sellers are initially in control, pushing prices downward.
  • Buyers begin to absorb selling pressure at lower levels.
  • Strong buying pushes the price back up.
  • The close near the top signals growing bullish strength.

Trade Interpretation

  • Entry: Traders typically enter a long position after confirmation from the next bullish candle.
  • Confirmation : A strong bullish candle following the Hammer confirms the reversal.
  • Stop Loss : Usually placed below the low of the Hammer candle.
  • Target: Targets can be set based on resistance levels or predefined risk-reward ratios.

Timeframe Relevance (Algo Context)

In a 5-minute timeframe environment:

  • The pattern forms in a single candle.
  • It is considered active after the candle closes.
  • It remains valid for the next 1/2 candles.
  • Quick confirmation is important due to short-term signal nature.

Role of Volume

Volume plays an important role in validating the Hammer pattern:

  • Higher volume during the formation indicates strong buying interest.
  • Lower volume reduces the reliability of the signal

Using Indicators for Confirmation

To improve reliability, traders combine the Hammer pattern with technical indicators:

  • RSI: Look for oversold conditions and potential reversal
  • MACD: Bullish crossover strengthens confirmation
  • Volume: Increased volume supports the buying pressure

When to Avoid

  • When the pattern forms in sideways or choppy markets.
  • When the lower shadow is not significantly long.
  • When there is no prior downtrend.
  • During highly volatile or news-driven conditions.

Precautions

  • Always confirm the pattern with at least one technical indicator.
  • Avoid relying solely on candlestick patterns without proper context.
  • Check the overall market trend before making trading decisions.
  • Be cautious of false signals in low-volume environments.

Related Patterns

  • Inverted Hammer
  • Hanging Man (bearish counterpart)
  • Bullish Engulfing
  • Morning Star

Practical Insights

In real-world trading systems, including algorithm-based detection:

  • The pattern is identified using OHLC data and shadow/body relationships.
  • Trend validation is used to ensure it forms after a downtrend
  • Duplicate signals are avoided within short time intervals
  • Signals are marked active or expired based on candle progression

Example Scenario

Consider a stock in a downtrend where the price drops significantly during a candle but then recovers strongly before closing. This creates a long lower shadow with a small body near the top. The next candle moves upward, confirming the reversal. This indicates that buyers are stepping in and the trend may reverse.

SUMMARY

  • Pattern Type: Bullish Reversal
  • Candles Required: 1
  • Key Signal: Long lower shadow with small body near top
  • Best Use Case: After a downtrend
  • Confirmation Needed: Yes (Next candle + indicators)
  • Reliability: High when proper structure and context are present