Quick Glance at Head and Shoulders Pattern Statistics

Remember, this blog is like a whiteboard – we are kind of brainstorming here…

I am beginning to play around with quantifying the predictability of patterns, such as the head and shoulders pattern. There is a lot of analysis, running of data and thinking that needs to be done, but I wanted to talk a little about what I am seeing so far. To really understand the usability of certain patterns, you really need to slice and dice the data in various ways to understand what tendency the market/stock/index/whatever might have after a pattern presents itself. As an experiment, I pulled closing data from about a thousand stocks that I had over 10 years worth of data. Presently, I am just trying to get a handle on the H&S pattern across ALL stocks, so I figured I would ignore individual stocks and just look at some global numbers.

I decided to be very simplistic (and practical) and look at the seven day H&S pattern. I am making a HUGE assumption in this next step – I am assuming the general tendency of the pattern will play out within seven days (again, seven to match the length of the pattern). In the future, I plan on looking at days one through pattern length X 2 – or something of that nature – to give use a better understanding of how a pattern evolves once it is recognizable. So, here are some early numbers:

- The average stock showed a 7 period head and shoulders pattern every 349 trading days
- That equates to about .4% of all stocks having a head and shoulders of length 7 at any one time

Okay, those make sense. It seems that patterns like this are relatively rare.

- It seems that only about 400 stocks out of 1000 had a tendency to move DOWN seven days after an H&S pattern

Ooops…

The “head-and-shoulders” pattern is believed to be one of the most reliable trend-reversal patterns.

Okay, let’s dig just a little here:

- Of the 400 odd stocks that showed a tendency to go down after an H&S pattern, the average seven day loss was 1.7%
- Of the 600 remaining stocks that showed a tendency to go UP after an H&S pattern, the average seven day gain was 2.45%

Okay, that is just a little taste. I have plenty of work ahead of me to really see what is going on. Also, if anyone sees any problems in my logic or has questions about how I am calculating things – let me know. I am skipping a lot for ease on my part and trying to get to the deeper issues, but details can be important and that is where the mistakes can be made!





  • http://fickletrader.blogspot.com Jon Tait

    If there is no preceding trend, then why should we expect a trend reversal? If you are looking for price declines after the head and shoulders pattern completes, you need to identify the conditions where the stock has a preceding uptrend on the same timeframe as your h&s pattern. It would be interesting to see how that changes your results.

    I surfed in here from Michael Taylor’s blog a few days ago. I like your blog and look forward to visiting it regularly.

  • Administrator

    Jon – thanks for pointing that out. I was under the impression that H&S patterns were Bearish, not just a “trend-reversal”. I found that quote on Investopedia -> http://www.investopedia.com/terms/h/head-shoulders.asp as I was writting up the notes. Hmmmm… Now I am confused, but your point is right on target. As part of a more comprehensive study, I can look at the trend before the H&S. But more importantly, I need to figure out the “accepted” view of what H&S is predicting.

  • http://fickletrader.blogspot.com Jon Tait

    For the purposes of head and shoulders analysis, I recommend we define a prior uptrend as a series of higher highs and higher lows (you can identify this with correlation too). A head and shoulders will have taken place any time there is one of these uptrends that turns into a downtrend (lower highs and lower lows). Draw with a pencil on paper a zig-zag up line followed by a zig-zag down line without taking your pencil off the paper– you will see a head & shoulders at the top. It becomes much more clear if you zig-zag like 10 higher highs and higher lows, followed by 10 lower highs and lower lows to make a mountain shaped drawing. As far as I know, that is the “accepted” view, although in practice it is always a lot more messy.

  • http://mathcom.blogfa.com Esmailifar

    Dear friend
    I’m very happy for visiting your blog. I have a blog on mathematics which publish it in 2 language. I want to visit my blog and send your comment about it.
    I have a question. May you link us http://mathcom.blogfa.com

  • http://www.deepmarket.com/technical-analysis/acceptable-head-and-shoulders-pattern/ Deep Market Advanced Stock Market Analysis » Blog Archive » Acceptable Head and Shoulders Pattern

    [...] Dang it – I messed up that last experiment in looking at head and shoulders, so we will re-do it to see what difference it makes. Thanks for pointing out my, uh, ignorance! [...]

  • marketmouse

    Very interesting and informative info you have gathered at this site. Your H&S scans are of particular interest.

    I've been a technical pattern trader on and off for 12 years. From my humble experience:

    - H&S patterns are one of the most reliable patterns, especially those with a horizontal neckline

    - for any given period bars used (daily, 30 minute, 10 minute, etc), the pattern has the most strength when it is about 30 bars in length (30 bars to form the should, head, and 2nd shoulder)

    - a breakout from a horizontal-neckline H&S will generally extend the same distance as the distance from the neckline to the extreme of the head. The slope of the breakout will generally be similar to the slope of either: the move from head to the neckline, or the move from the 2nd shoulder to the neckline.

    - an inverted H&S breakout will generally have a steeper slope; about the same slope as the rise from the head to the neckline was.

    On the 7 day duration: one benefit of smaller duration patterns is that there are more of them created. I almost always see one or more H&S formations (minute bars) if I'm watching a stock throughout a day. When you move to using daily bars, the H&S pattern (rather the underlying supply&demand pattern) needs to hold true for a longer time… and often the start of a H&S pattern develops into another pattern because the supply and demand changes in a different way.

    I'd explore something like 2-5 days in length for patterns… long enough to provide a sizable potential move… and small enough duration to result in frequent patterns being found before the market can change and negate them.

  • marketmouse

    Very interesting and informative info you have gathered at this site. Your H&S scans are of particular interest.

    I've been a technical pattern trader on and off for 12 years. From my humble experience:

    - H&S patterns are one of the most reliable patterns, especially those with a horizontal neckline

    - for any given period bars used (daily, 30 minute, 10 minute, etc), the pattern has the most strength when it is at least 25 bars in length (25 bars to form the 1st shoulder, head, and 2nd shoulder). Preferably 28-34, in my experience.
    Keep in mind that what we are really looking at is a pattern of the trades based on the pattern of supply & demand. 25 bars will illustrate that the supply & demand has a consistent and stable; reliable, pattern of trend change.

    - a breakout from a horizontal-neckline H&S will generally extend the same distance as the distance from the neckline to the extreme of the head. The slope of the breakout will generally be similar to the slope of either: the move from head to the neckline, or the move from the 2nd shoulder to the neckline.

    - an inverted H&S breakout will generally have a steeper slope; about the same slope as the rise from the head to the neckline was.

    - a breakout will reach it's target in about 1/3 to 1/2 of the patterns length. So if a H&S pattern is 30 minutes in length, then a breakout will generally reach it's target in about 10-15 minutes.

    On the 7 day duration: one benefit of smaller duration patterns is that there are more of them created. I almost always see one or more H&S formations (minute bars) if I'm watching a stock throughout a day. When you move to using daily bars, the H&S pattern (rather the underlying supply&demand pattern) needs to hold true for a longer time… and often the start of a H&S pattern develops into another pattern because the supply and demand changes in a different way.

    I'd explore something like 2-5 days in length for patterns… long enough to provide a sizable potential move… and small enough duration to result in frequent patterns being found before the market can change and negate them.