Chart Patterns

Head and Shoulders Pattern: How to Identify and Trade It

The head and shoulders top marks a possible end of an uptrend. Learn its anatomy, neckline confirmation, entry, stop, measured target and common failures.

By AlgoXP3 min readUpdated

Schematic head and shoulders top with neckline, entry below the neckline, stop above the right shoulder and measured target

The head and shoulders is one of the best-known reversal patterns in technical analysis. A top forms after an uptrend and warns that buyers are losing control; the mirror image, the inverse head and shoulders (head and shoulders bottom), forms after a downtrend.

The pattern is a sequence of three peaks: a left shoulder, a higher head, and a right shoulder that fails to reach the head. A line through the two troughs between them - the neckline - is the level that decides whether the pattern is complete.

Anatomy of the pattern

Part What happens What it tells you
Prior uptrend Higher highs and higher lows There must be a trend to reverse
Left shoulder A rally to a new high, then a pullback The trend is still intact
Head A higher high, then a deeper pullback to about the same level Buyers push once more, but the pullback erases the gain
Right shoulder A rally that stops below the head First lower high - demand is weakening
Neckline Line through the two troughs The support that must break
Breakdown A close below the neckline Confirmation of the pattern

The neckline can be horizontal or slightly sloped. A neckline that slopes down makes the pattern weaker to confirm but stronger once it breaks; an upward-sloping one triggers earlier but is easier to fake out.

Confirmation

Until price closes below the neckline, there is no head and shoulders - only a market that made a lower high. Traders typically wait for:

  • a close (not just a wick) below the neckline on the timeframe they trade;
  • ideally, rising volume or momentum on the breakdown and weaker momentum on the right shoulder than on the head;
  • sometimes a retest: price returns to the broken neckline from below and fails there.

Trading plan

  • Entry: on the close below the neckline, or on a failed retest of the neckline for a tighter stop.
  • Stop-loss: above the right shoulder (conservative) or just above the neckline after a retest (aggressive).
  • Target: the classic measured move - the vertical distance from the head to the neckline, projected down from the breakout point.

Worked example

Suppose EUR/USD on the H4 chart prints a left shoulder at 1.0950, a head at 1.1020 and a right shoulder at 1.0960. The troughs between them are at 1.0880 and 1.0885, so the neckline is roughly horizontal at 1.0880.

  • Height of the pattern: 1.1020 − 1.0880 = 140 pips.
  • Breakdown close: 1.0870 → entry short.
  • Measured target: 1.0880 − 0.0140 = 1.0740.
  • Stop above the right shoulder: 1.0965 → risk 95 pips from 1.0870.
  • Reward to target: 1.0870 − 1.0740 = 130 pips → reward-to-risk ≈ 1.4 : 1.

A ratio of 1.4 is acceptable but not generous. Traders who want a better ratio enter on a retest of the neckline (for example at 1.0878 with a stop at 1.0905: 27 pips of risk for 138 pips of potential).

The measured move is a guide, not a promise. Prices often stall at prior support on the way.

Common mistakes

  • Trading before the neckline breaks. Many “heads and shoulders” turn into continuation ranges.
  • Forcing the shape. If the right shoulder is higher than the head, it is not this pattern.
  • Ignoring context. A pattern on a 5-minute chart inside a strong daily uptrend has little weight.
  • No plan for failure. If price closes back above the neckline and the right shoulder, the pattern has failed - that failure itself is often a strong bullish signal.

Using it in an algorithm

A rule-based detector needs objective definitions: swing highs and lows (for example, a fractal or ATR-based zigzag), the head at least X% above both shoulders, shoulders within a tolerance of each other, and a close beyond the neckline as the trigger. Our Kairos Market Structure Pro indicator maps confirmed swing highs and lows and changes of character on closed candles, which is the same raw material a head-and-shoulders detector is built on.

Always backtest such rules on the market and timeframe you trade: the textbook shape is common, but its follow-through varies a lot.

FAQ

Is the inverse head and shoulders traded the same way?

Yes, mirrored: it forms after a downtrend, the neckline connects the two peaks, and the trigger is a close above the neckline. The measured target is the head-to-neckline distance projected upward.

What if price breaks the neckline and comes back?

A quick return above the neckline weakens the pattern. If price also climbs back above the right shoulder, the pattern has failed and many traders exit or even reverse.

Sources and further reading

  1. StockCharts ChartSchool: Head and Shoulders Top - chartschool.stockcharts.com
  2. StockCharts ChartSchool: Head and Shoulders Bottom - chartschool.stockcharts.com
  3. StockCharts ChartSchool: Introduction to Chart Patterns - chartschool.stockcharts.com