Explanation of Inverted Hammer Candlestick Pattern

The Inverted Hammer candlestick pattern is a bullish reversal signal that typically forms at the bottom of a downtrend. It features a small real body at the bottom, with a long upper shadow that is at least twice the length of the body. This pattern indicates that, although sellers initially pushed the price lower, buyers stepped in later in the session to drive the price up. This shift from selling to buying pressure signals a potential reversal, where the downward momentum may be weakening, and an upward trend could emerge.

Illustration of Inverted Hammer Candlestick Pattern

The Inverted Hammer candlestick pattern is illustrated below:

Inverted hammer candlestick pattern

Key Pattern Features

  • Small real body near the bottom of the candlestick.
  • Long upper shadow, at least twice the size of the real body.
  • Appears after a downtrend.
  • Signals potential bullish reversal.

Trading Psychology of the Inverted Hammer Pattern

The psychology behind the Inverted Hammer reflects an initial attempt by sellers to drive the price lower. However, as the session progresses, buyers gain control and push the price back up, but not enough to surpass the open. This shift suggests that sellers may be losing strength, and buyers are testing the waters for a potential reversal. If confirmed by subsequent bullish price action, the Inverted Hammer indicates that the downtrend could be over, and buyers are ready to take control.

Conventional Approach to Using the Inverted Hammer

In theory, the Inverted Hammer pattern is more likely to signal a bullish reversal in trending down markets. Traders should look for confirmation in the form of a higher close on the next trading session to validate the reversal signal. In low-volatility environments, the pattern can signal more reliable reversals, while high-volatility markets may present false signals. The Inverted Hammer performs better in markets where the downtrend has been strong, as it signals a potential shift in sentiment.

Risk Management Suggestions

A typical stop-loss for traders using the Inverted Hammer pattern could be placed below the low of the candlestick. This minimizes risk if the reversal does not materialize, as a break below this level would indicate continued downward pressure. Some traders might also consider volatility-based stop-losses, like those derived from ATR, to account for market fluctuations.

Backtest Performance

The following analysis shows the average profit per trade from purchasing selected ETFs on the open after the inverted hammer pattern is formed assuming the trade is held for 5 trading days. The scenarios covered include:

  • Primary Bull (Bear) Market: Close above (below) the 200 day simple moving average
  • Short Term Strength (Weakness): Close above (below) the 20 bar simple moving average
  • Low (High) Volatility: 20 bar Average True Range/Close is below (above) the 200 day moving average of the same

The purpose of this is to determine quickly whether the pattern holds any edge as an entry for these ETF’s. Obviously there are many ways to test this and I would suggest you test the pattern in your own backtesting.

All numbers presented represent average percent gain over the 5 days following the signal with no other exits. Darker green areas represent larger positive edge, darker red indicates potential areas edge on the short side.

Backtest Performance of Inverted Hammer Candlestick Pattern

Pattern Failure Conditions

The Inverted Hammer pattern may fail when it appears during a consolidation phase rather than after a clear downtrend. Additionally, in high-volatility markets, the price might continue to fall even after the Inverted Hammer forms. Without confirmation from subsequent price action (such as a higher close in the following session), the pattern may give false signals.

Systematic Trading Application

The Inverted Hammer can be incorporated into systematic trading strategies as a signal for entering long positions. A common rule could be to enter a long trade after a confirmation candle closes above the Inverted Hammer’s high. Exit rules might include a target based on a moving average or a specific profit level. As with all strategies, traders should thoroughly backtest this setup to ensure it aligns with their trading goals and risk tolerance.

Amibroker Code for Inverted Hammer Candlestick Pattern

// Inverted Hammer Candlestick Pattern AFL Code
InvertedHammer = ((Open < Close) AND ((High – Close) >= 2 * (Close – Open)) AND ((Close – Low) <= (Close – Open)));

author avatar
Adrian Reid Founder and CEO
Adrian is a full-time private trader based in Australia and also the Founder and Trading Coach at Enlightened Stock Trading, which focuses on educating and supporting traders on their journey to profitable systems trading. Following his successful adoption of systematic trading which generated him hundreds of thousands of dollars a year using just 30 minutes a day to manage his system trading workflow, Adrian made the easy decision to leave his professional work in the corporate world in 2012. Adrian trades long/short across US, Australian and international stock markets and the cryptocurrency markets. His trading systems are now fully automated and have consistently outperformed international share markets with dramatically reduced risk over the past 20+ years. Adrian focuses on building portfolios of profitable, stable and robust long term trading systems to beat market returns with high risk adjusted returns. Adrian teaches traders from all over the world how to get profitable, confident and consistent by trading systematically and backtesting their own trading systems. He helps profitable traders grow and smooth returns by implementing a portfolio of trading systems to make money from different markets and market conditions.