Hanging Man and the Hammer candles looks quite similar but these two candlesticks are differentiated by the prior move or short term trend. Both candlesticks have long lower shadows and small bodies as the Hanging Man pattern is bearish and the Hammer pattern is relatively bullish in nature.
Hammer candlestick (bullish pattern)
The bullish Hammer is a significant candlestick pattern that occurs at the bottom of the trend. A Hammer consists of a small real body at the upper end of the trading range with a long lower shadow. The longer the lower shadow the more bullish the pattern. The prior trend for the Hammer should be a down trend.
The price action on the Hammer formation day indicates that the bulls attempted to stop the prices from falling further and are reasonably successful to close the prices on a high note.
Hanging Man (bearish pattern)
Hanging Man is a single candlestick pattern and a top reversal pattern. It signals a market high and is classified as a Hanging Man only if it is preceded by an uptrend and is seen after a high. A bearish Hanging Man pattern basically indicates selling pressure at higher levels.
When the market is in an uptrend and bulls are in control, we see the formation of higher highs and higher lows. However, this pattern shows that bears have managed to make a comeback and they are trying to break the stronghold of the bulls and close at the lowest price point.