Browse the library

Candlesticks · Single-candle patterns

Hanging man candlestick: rules, context and what the data shows

What separates a hanging man from a hammer, the exact TA-Lib test Finabase runs, why most never confirm, and what 483 real ones did next.

On this page
  1. How the candle is built
  2. The exact rules Finabase uses
  3. What the long tail is telling you
  4. Confirmation is unusually hard
  5. Two hanging men from 2026
  6. What 483 hanging men did next
  7. Hanging man and its relatives
  8. An educational outline for a hanging man
  9. How Finabase shows hanging men
  10. Frequently asked questions
  11. Summary

A hanging man is a small-bodied candle with a long lower shadow that prints near the top of a rally. If you have read the Hammer candlestick pattern: meaning, rules and reliability page, the outline is familiar: it is the same silhouette. What changes is where it appears and what it implies. After a decline that shape hints that buyers are returning. After an advance it hints at something less comfortable: during the session, sellers were able to knock the price well below the open, and the late recovery may have been the last effort of buyers who are running out of room.

The name is visual. A small body hanging from a long line looks like a figure on a rope, and the Japanese tradition, as Steve Nison relayed it in 1991, treats the candle as a warning rather than a verdict. Nison stresses that the hanging man needs bearish confirmation more than most patterns do, because on the day itself the bulls still won: the close is near the top of the range.

This page concentrates on what is specific to the hanging man: the extra location test TA-Lib applies (the body must sit near the previous candle's high), why so few hanging men ever confirm, two real cases from 2026, and a test of 483 occurrences on 60 large US stocks and ETFs.

How the candle is built

Hanging man at the top of an advance (illustration, prices not real) Hanging man Confirmation
A hanging man at the end of a steady advance, followed by the bearish confirmation traders look for.

Read the candle from the open. The session starts at or above the prior day's highs, so the rally is still intact at the bell. Sellers then take over and drive the price a long way down, leaving the lower shadow. Before the close, buyers bring it back, and the session ends near where it began, close to the high. Three proportions define the result:

  • A small real body. Open and close are close together, so neither side won the day outright. The body can be green or red. A red body (close below open) is usually read as slightly more bearish, since the late rebound did not even recover to the open.
  • A lower shadow much longer than the body. Nison's guideline is two to three times the body. The length measures how far the market was willing to fall within one session while the trend was still pointing up.
  • Little or no upper shadow. The session did not push to new highs above the body.

The fourth ingredient lives outside the candle: there must be an uptrend to reverse. A hanging man in the middle of a sideways range is just a candle with a long tail.

The exact rules Finabase uses

Finabase marks hanging men with TA-Lib's CDLHANGINGMAN function on daily bars. Each condition is relative, measured against the stock's own recent candles, which keeps the test meaningful on a $20 stock and a $600 stock alike.

Condition in CDLHANGINGMAN What it compares
Small real body Body shorter than the average body of the 10 previous candles
Long lower shadow Lower shadow longer than the candle's own body
Very short upper shadow Upper shadow under 10% of the average high–low range of the 10 previous candles
Body near the prior high Bottom of the body at or above the previous candle's high, minus 20% of the average range of the 5 candles before that prior candle

When all four hold, the function returns −100 on that bar. It never returns a positive value.

The location test is what makes it a hanging man

The first three rows are word for word the hammer's shape test. The fourth row is where the two functions split. CDLHAMMER demands that the body sit near the previous candle's low; CDLHANGINGMAN demands that it sit near the previous candle's high. In practice that means the hanging man's body has to be level with, or above, yesterday's top. A candle that opens with a gap higher, sags intraday and recovers, as Intel's did in June 2026 below, passes easily.

Because one test looks at the prior low and the other at the prior high, a single bar almost never qualifies for both. In our 29,760-bar sample it happened twice, on days when the previous candle was so narrow that its high and low were within the tolerance of each other.

Where TA-Lib is looser than the textbook

Two gaps between the code and the book are worth knowing before you trust a marker:

  1. Shadow length. The code asks for a lower shadow longer than the body, not two or three times longer. Some flagged candles have a tail that is only modestly longer than the body.
  2. Trend. There is no test of a prior rally. Sitting at yesterday's high is a local condition; it is satisfied after a one-day bounce inside a downtrend just as well as after a month-long climb. In our sample, 59.5% of hanging men followed a 10-session rise. The other 40% appeared without the uptrend the pattern is named for.

What the long tail is telling you

The hammer's lower shadow is read as buyers rejecting lower prices. The hanging man's identical shadow gets a darker reading, and the reason is position. At the top of a run, most holders are sitting on gains. An intraday drop of several percent shows that supply can appear quickly when price wobbles, and that the bid is thinner than the trend suggests. The recovery into the close looks reassuring, but it may come from momentum buyers and short covering rather than from fresh conviction.

Nison's way of framing it: the bulls who bought at the close of a hanging man day are exposed. If the next session opens lower, they hold a losing position at the top of the move, and their selling can feed the decline. That is why the confirmation step is not optional for this candle.

Confirmation is unusually hard

The standard confirmation is a close below the hanging man's low on the next session. Some traders accept a lower open or a close below the body as an earlier, weaker sign.

The low of a hanging man is, by construction, far below its body. The long shadow that defines the pattern also places the confirmation trigger a long way down. In our study only 84 of 483 hanging men (17%) were followed by a close below their low the next day. For comparison, 147 of 450 shooting stars (33%) confirmed, because a Shooting star candlestick: definition, TA-Lib test and track record's low sits right under its body.

So a reader should expect most hanging men to fade into nothing. Practitioners who use the candle tend to treat it as a reason to tighten risk on an existing long position, not as a reason to act on its own.

Momentum gauges help here. A hanging man that prints while the Relative Strength Index (RSI): how to read and use it is above 70 and diverging (a higher price high with a lower RSI high) has more supporting evidence than one that appears with momentum still rising.

Two hanging men from 2026

Intel (INTC) daily — a hanging man after a 42% ten-session run, June 2026 $100 $120 $140 Hanging man 2026-06-22 −21.7% after 10 sessions Jun Jul
Intel (INTC): the hanging man on 2026-06-22 came after a 42% rise in ten sessions. The next close was below its low, and ten sessions later the stock was 21.7% lower.

Intel, June 22, 2026. INTC had climbed 42.1% in ten sessions. On June 22 it opened at $139.12, above the prior day's $135.48 high, dipped to $136.21 and closed at $140.94. The body was $1.82 tall against a recent average body of $3.73, and the $2.91 lower shadow was longer than the body, so every TA-Lib condition held. The next session gapped down and closed at $132.28, below the hanging man's low: a textbook confirmation. Five sessions later the stock was 6.5% lower, and after ten sessions it was down 21.7% at $110.39.

AMD (AMD) daily — a hanging man that the rally ignored, April 2026 $200 $300 $400 Hanging man 2026-04-17 +29.5% after 10 sessions Apr May
AMD: a hanging man on 2026-04-17 after a 28% ten-session rise. It never confirmed, and the stock gained 29.5% over the next ten sessions.

AMD, April 17, 2026. AMD had risen 28.0% in ten sessions when it printed a red hanging man: open $281.00, high $281.05, low $274.14, close $278.39. The upper shadow was a nickel. The bottom of the body sat about a dollar under the prior day's $279.34 high, inside TA-Lib's tolerance. The next session closed at $274.95, still above the $274.14 low, so the warning was never confirmed. Within five sessions AMD was 24.9% higher, and after ten it was up 29.5%. A trader who had sold on the shape alone would have exited right before the steepest part of the run.

Both candles looked similar and both followed big rallies. The difference was what happened the next day.

What 483 hanging men did next

We ran CDLHANGINGMAN over two years of daily bars (October 30, 2024 to October 29, 2026) for 60 large US stocks and ETFs, from AAPL and MSFT to SPY, TLT and GLD. For each candle we measured whether the price was lower five sessions later, which is the direction the pattern predicts, and compared that with every day in the sample.

Group Cases Lower after 5 sessions Avg 5-session return Avg 10-session return
Any trading day (baseline) 29,760 46.7% — —
Every hanging man 483 47.6% +0.19% −0.06%
Confirmed (next close below the low) 84 46.4% +0.45% —

The figures for confirmed cases are measured from the confirmation close, the first point at which a trader could have acted. 464 of the 483 had a full five sessions of data after them.

What the table says, read plainly:

  • The shape alone was nearly a coin flip. 47.6% of hanging men were followed by a lower price, less than one percentage point better than a random day.
  • Prices rose on average afterwards. The mean five-session move after a hanging man was +0.19%. In a market that mostly rose over the period, a bearish candle at a high did not stop the drift.
  • Confirmation did not rescue it in this sample. The 84 confirmed cases were lower five sessions later 46.4% of the time, measured from the confirmation close. The Intel case is real, but so are the many confirmed hanging men that bounced straight back.

Hanging man and its relatives

Pattern Shape Context TA-Lib checks Scanner side
Hanging man Small body on top, long lower shadow Body near the prior high Bearish
Hammer candlestick pattern: meaning, rules and reliability Same shape Body near the prior low Bullish
Shooting star candlestick: definition, TA-Lib test and track record Small body at the bottom, long upper shadow Body gaps above prior body Bearish
Dragonfly doji Doji-sized body, no upper shadow, a lower shadow None Bullish
Takuri line Doji-sized body, no upper shadow, long lower shadow None Bullish

Overlap is real: about 23% of the hanging men in our sample were also flagged as a dragonfly doji, and about 23% as a takuri line. Those two detectors check no location at all and always score bullish, so the same candle at a high can show a bullish marker and a bearish one at once. The hanging man is the only one of the three that knows it is at the top.

An educational outline for a hanging man

This is a description of how practitioners approach the candle, not a recommendation.

  1. Check that there is something to reverse. A multi-week advance, ideally extended well above its moving averages.
  2. Wait for the next session. A close below the hanging man's low is the classic trigger. A lower open that fails to recover is a weaker one.
  3. Know where the idea is wrong. A close above the hanging man's high means buyers absorbed the scare and pushed on.
  4. Size from that distance. Suppose the hanging man spans $96 to $100.40 and the confirming close is $95.50. Someone acting on that close with an invalidation level above $100.40 is risking about $5 per share; with a $500 risk budget that is 100 shares. The numbers are illustrative.

Many holders of an existing long use the candle differently: they raise a stop to just below the hanging man's low and let the market decide.

How Finabase shows hanging men

  • Chart markers. Add the Hanging Man study to a chart (the link above opens Intel with it on). Every bar TA-Lib flags gets a marker, so you can scroll back and see how the candle behaved on that particular stock.
  • Scanner. The S&P 500 scan lists stocks whose latest bar produced a hanging man. Since TA-Lib's output is always −100, it appears in the Bearish list (t=bearish). The scanner reports the shape; it does not check for a prior rally.
  • Signals tab. The Candlestick gauge on a symbol's Signals page (for example /symbol/aapl/signals) gives each of the 61 patterns one vote: the most recent detection in the last eight bars decides it. A hanging man can only vote Sell. Across our sample it held a Sell vote on 12.2% of days and was neutral on the rest.

Frequently asked questions

Is a hanging man bearish on its own?

Not reliably. In our sample hanging men were followed by a lower price 47.6% of the time, against 46.7% for any day. It is a warning that becomes meaningful only with confirmation and context.

What is the difference between a hammer and a hanging man?

The candle can be identical. A hammer forms after a decline and is a potential bullish reversal; a hanging man forms after an advance and is a potential bearish one. TA-Lib separates them by checking whether the body sits near the prior candle's low (hammer) or its high (hanging man).

Does the body color of a hanging man matter?

A red body is usually considered somewhat more bearish, because the close finished below the open. TA-Lib ignores color for this pattern; both colors score −100.

Why are hanging men so rarely confirmed?

Because the long lower shadow puts the low far below the close. A next-day close below that low needs a sizable drop, and only 17% of the hanging men in our test got one.

Summary

The hanging man is the hammer's shape in the wrong place: a candle that shows the market could fall hard intraday even while the rally held. TA-Lib defines it by proportion and by one location rule, a body at or above the prior candle's high, and it does not check for an uptrend. Our data on 483 cases showed almost no edge from the shape alone, a low confirmation rate, and no improvement from confirmation in this sample. Use it as a prompt to look at the trend, momentum and your own risk, not as a sell signal.

Sources and further reading

  1. Steve Nison, Japanese Candlestick Charting Techniques (New York Institute of Finance, 1991)
  2. Thomas N. Bulkowski, Encyclopedia of Candlestick Charts (Wiley, 2008)
  3. TA-Lib source code — CDLHANGINGMAN and the default candle settings
  4. Finabase chart data — daily bars for 60 US stocks and ETFs, 2024-10-30 to 2026-10-29; patterns detected with TA-Lib CDLHANGINGMAN