Head and shoulders pattern explained

By Oalgo · Last reviewed

A head and shoulders is a chart pattern of three swing highs in a row. The middle one, the head, is the highest, and the two outer ones, the shoulders, are lower and about level with each other. People read it as a possible turn from up to down once price closes below the line that joins the two dips between the highs, the neckline. The inverse head and shoulders is the same shape upside down.

Diagram: a price outline with three peaks, the middle one highest. The two lower peaks are marked as the left and right shoulder, the highest as the head, a flat line under the two dips as the neckline, and a marker where a candle closes below the neckline.NecklineLeft shoulderHeadRight shoulderClose belowthe neckline
Example prices, made up for this page.

How do you define a head and shoulders so a rule can use it?

#
  • Find three swing highs in a row: the left shoulder, the head and the right shoulder. Support and resistance shows how swings are found.
  • The head must be higher than both shoulders.
  • The shoulders must be close in height, within a tolerance you choose, for example 1% of each other.
  • Find the lowest low between the left shoulder and the head, and between the head and the right shoulder. The neckline is the lower of the two dips, drawn flat.
  • The head must stand a minimum depth above the neckline, for example 0.5% of its price, so that small wiggles do not count.
  • The pattern is confirmed when a candle closes below the neckline. Until then it is only a setup.

What does a worked example look like?

#
PartMade-up priceCheck
Left shoulder108
Dip between left shoulder and head102
Head114Higher than both shoulders
Dip between head and right shoulder104
Right shoulder109|108 − 109| ÷ 109 = 0.9%, within the 1% tolerance
Neckline102The lower of the two dips
Depth of the head114 − 102 = 1212 ÷ 114 = 10.5%, above the 0.5% minimum
ConfirmedA close below 102Not before

Many people also project the height of the head above the neckline (12) downward from the neckline: 102 − 12 = 90. This is a convention for placing an exit. The pattern does not promise that price gets there.

What changes if the neckline is sloped?

#

Many drawings join the two dips with a sloped line. The definition above uses a flat line at the lower dip. A sloped neckline gives a different break price and can give a different candle, so the same chart can be confirmed on one candle by one person and on another candle by someone else.

How do people use a head and shoulders in rules?

#
  • An exit from a long trade when the pattern is confirmed.
  • An entry for a falling price on the candle that closes below the neckline, with a stop loss just above the right shoulder.
  • The inverse pattern with every comparison turned over, as an entry for a rising price.
  • A minimum depth and a tolerance as settings, tested at more than one value.

What can a head and shoulders not tell you?

#

The pattern is complete only after the right shoulder and the break, so it is known late. Shapes that look like it on a chart you already know were picked with hindsight (see lookahead bias): a shape can fit the definition and not turn, and a turn can happen with no such shape. This page makes no claim about what usually happens after the pattern. The only way to see how a rule on it behaved is to test the exact definition on past prices. A double top uses the same neckline idea with two peaks.

In Oalgo you can tell Oalgo AI your head and shoulders rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next