Research results from Investtech, 14 November 2017
Published in Norwegian on 14 November 2017. Norwegian original here >>
About the author
Geir Linløkken is the Head of Analysis and Research at Investtech, and is responsible for portfolios and money management. He founded Investtech in 1997, to provide independent technical analyses based on science and investor psychology. Mr. Linløkken has an MSc. in Computer Science, specializing in Mathematical Modeling, at the University of Oslo. He is the author of the book “Technical Stock Analysis”. His daily work includes analysing stocks and developing quantitative methods for stock market investments.
Keywords: head and shoulders formation, inverse head and shoulders formation, buy signal, sell signal, Oslo stock exchange, statistics, technical analysis.
Abstract: Geometric price patterns, like head and shoulders formations, are used in technical analysis to predict future price development. Many investors use this as an important part of their decision making process when buying or selling stocks. We have looked at the price movements that followed sell signals from short term head and shoulders formations and buy signals from short term inverse head and shoulders formations on the Oslo Stock Exchange in a period of 19 years, from 1996 to 2014. The results indicate that inverse/ head and shoulders formations in short term charts have low predictive power, even though they have shown good predictive power in long term charts and are theoretically considered some of the strongest signals of technical analysis.
This research report is part of a bigger research project conducted by Investtech into price development following technical formations in stock prices. This report studies short term inverse/ head and shoulders formations on the Oslo Stock Exchange in Norway.
Short term | Medium term | Long term | |
Rectangle | Report | Report | Report |
Inverse/ head and shoulders | Present | Report | Report |
Double top, double bottom | Report | Report | Report |
Identification of geometric price patterns in stock prices is an important area of technical analysis. The idea is that these patterns describe the investors’ mental state, i.e. whether they will want to sell or buy stocks in the time ahead, and they thereby indicate the future direction of the stock price. Head and shoulders formations are one type of such patterns.
A head and shoulders formation is a top formation which marks the end of a rising period. The formation consists of a left shoulder, a head and a right shoulder, connected by a neckline, see figure 1. The creation of a head and shoulders formation indicates increasing pessimism among investors and the start of a falling trend. Such formations are considered among the most reliable signals in technical analysis. They are primarily used to predict reversals in long term market trends, but can also be used in the shorter term.
This formation also exists in the opposite direction, as an inverse head and shoulders formation, see figure 2. This is a bottom formation which marks the end of a falling period. An inverse head and shoulders formation signals increasing optimism among investors and the start of a rising trend.
In technical analysis terminology we say that a break downwards through the neckline of a head and shoulders formation triggers a sell signal. Similarly a break up from an inverse head and shoulders formation triggers a buy signal. We have studied the price movements following buy and sell signals from such formations on the Oslo Stock Exchange in Norway.
It is no easy task to identify head and shoulders formations in stock prices. The figures above show that the price forms a left shoulder, a head and a right shoulder, before the neckline is broken. However, stock prices are rarely as regular as these illustrations. The shoulders will often be of different sizes, the head and one shoulder may be almost the same size, or the neckline may be crooked.
Many investors identify price patterns by looking at price charts and drawing lines by hand. This method has many weaknesses, most of all that it is subjective, allowing you to see the formations you want to see, and it is very time consuming. Therefore we need an automatic algorithm whereby computers identify the formations and the signals they trigger.
Investtech has studied technical and quantitative analysis since 1997. We have developed mathematical algorithms for automatic identification of head and shoulders formations in stock prices. The formations are entered into the technical analysis charts, shows in signal lists and presented updated daily to Investtech’s subscribers.
In this report we have looked at the price movements that follow buy and sell signals from head and shoulders formations on the Oslo Stock Exchange. The statistics are based on formations automatically recognized by Investtech’s computer programs. No parameter optimization or changes to algorithms have been made during this study. This is an analysis based on the existing historical material.
We have used stock prices from 1 January 1996 to 10 October 2014 as the basis for the statistics. In this period, the main index on the Oslo Exchange rose from 106.9 to 573.6 points, which is 437 % or approximately 9.3 % a year. Compared to the risk free interest rate in this period, this is approximately what can be expected for similar periods of time.
In eight of these 19 years, the exchange rose by over 30 %, while it fell by more than 10 % in five of the years, and varied between minus 10 % to plus 30 % in five of the years. We have had both good and bad periods, and several sideways periods as well, and consider this representative for a normal period of time on the exchange.
All stocks that have been listed in the period are included. Stocks that have been delisted due to for instance mergers, takeovers and bankruptcy are included. However, we only have data for these companies for as long as they were listed. A company which went bankrupt will then have a final trading price which is not zero, which is a weakness in this study. However, this is only the case for a small number of companies. Most companies also fall a lot before they are delisted, so the difference between the price fall from when they were listed and a price fall down to zero will be small.
It is also very rare that new buy signals are generated from head and shoulders formations when a company’s stock price is falling. Therefore it matters very little to the statistics for buy signals. Return from sell signals would however have been a little weaker had we corrected for bankruptcies. Combined it is our opinion that these conditions have minimal impact on the results of this study.
All prices are adjusted for splits, dividend payments, reverse splits, and other corporate capital changes, in order to reflect the actual value development of the stocks.
715 time series are included, of which 597 are stocks with at least 66 days of trading. At the end of the period, approximately 220 stocks were listed on the exchange.
The stock’s daily closing price is used. We have only used prices and turnover figures from the stock’s primary market place. Alternative markets like Chi-X, Bats and Burgundy are excluded.
We have used Investtech’s algorithms for automatic identification of price formations. The algorithms were run on short term charts made up of 95 price days, approximately 5 calendar months. We consider the algorithms good at identifying actual inverse/ head and shoulders formations, and they do not classify indistinct patterns as actual formations.
At identification of signals, only data up to the date the signal was triggered were used. The later data were hidden from the algorithm.
All signals identified from head and shoulders and inverse head and shoulders formations are used. Normally each formation only triggers one signal. However, in rare cases they may trigger several signals. This happens if the price following the break reacts back into the formation, creates a modified formation and then breaks out again.
Sometimes one stock can also trigger several signals on the same day. This happens if the algorithms have recognized several formations of different length and height which are broken out from at the same time.
In order to have the data set as representative for the Oslo Stock Exchange as possible, we remove certain signals from the data set:
Our data set now consists of 659 identified buy signals from short term inverse head and shoulders formations and 777 sell signals from short term head and shoulders formations in stocks and equity certificates on the Oslo Stock Exchange in the period 1996 to 2014.
The chart below shows average price development following short term buy and sell signals from inverse/ head and shoulders formations. The signals are triggered on day 0. Only days when the exchange is open are included, so 66 days equal approximately three months. Buy signals are the blue line and sell signals are the red one. The shaded areas are the standard deviation of the calculations. Benchmark index is the black line.
Buy signal | Day 1 | 10 | 22 | 66 |
Absolute | 0.34 % | 0.61 % | 1.54 % | 2.06 % |
Benchmark | 0.05 % | 0.48 % | 1.06 % | 3.31 % |
Relative, percentage points | 0.30 | 0.14 | 0.47 | -1.25 |
Statistical t-value | 1.93 | 0.36 | 0.79 | -1.16 |
Sell signal | Day 1 | 10 | 22 | 66 |
Absolute | 0.05 % | 0.87 % | 1.31 % | 3.86 % |
Benchmark | 0.05 % | 0.48 % | 1.06 % | 3.31 % |
Relative, percentage points | 0.00 | 0.40 | 0.25 | 0.55 |
Statistical t-value | 0.02 | 1.07 | 0.53 | 0.56 |
We have studied statistical price development following buy signals from inverse head and shoulders formations and sell signals from head and shoulders formations identified in Investtech's short term technical charts.
Figure 3 shows that stocks with buy signals and stocks with sell signals both have an average development in line with average benchmark for the first 30 days following the signal. Deviations from benchmark until day 66 following the signals were so small that they are not significant based on statistical t-value.
We conducted the same study on the Stockholm Stock Exchange from 2003 to 2014. Investtech's computers identified 863 buy signals and 1,037 sell signals in this period.
The results from the Stockholm Stock Exchange indicate little or no predictive power for both buy and sell signals.
Read more about the Swedish study here >>
We have studied return from stocks on the Oslo Stock Exchange with breaks through technical head and shoulders formations and inverse head and shoulders formations in the short term over a period of 19 years, from 1996 to 2014. Investtech’s automatic algorithms identified a total of 659 buy signals and 777 sell signals from such formations on the Oslo Stock Exchange
Neither buy nor sell signals were followed by price development significantly different from average benchmark development. The same study conducted on the Stockholm Stock Exchange also showed no significant difference between the price development of signal stocks and benchmark.
The time period of the study is relatively long, the quality of the data is good and the algorithms used are entirely automatic and only identify actual price formations.
The results consequently indicate that signals from inverse/head and shoulders formations have low signal power.
Previous studies show that head and shoulders formations have good predictive power in the longer term. The results above indicate that such formations may be better suited to long term charts than short term ones. A possible explanation may be that the formations are relatively small and can be easily triggered by a few days of fluctuating price development in short term charts.
This suggests that established technical analysis theory should be revised. The time perspective of the charts where the signals have been identified may be an important parameter for the reliability and significance of these signals.
Even with 11 years of data from the Stockholm Stock Exchange and 19 years from Oslo, we do not have a large data set. The results have low significance. Consequently we cannot decisively conclude that inverse/ head and shoulders formations do not have any predictive power in short term charts, and we would like to conduct more studies on data from several Stock Exchanges and for longer periods of time.
For now, we assume that it is statistically risky to follow signals from inverse/ head and shoulders formations in short term charts. These results imply that in the presence of such formations it will be useful to look at other indicators as well, for example volume balance, momentum and trend, which have all shown more significant results.
Investeringsanbefalinge(r)n(e) er udarbejdet af Investtech.com AS ("Investtech"). Investtech garanterer ikke for fuldstændigheden eller rigtigheden af analysen. Eventuel eksponering i forhold til de råd / signaler, som fremkommer i analyserne, står helt og holdent for investors regning og risiko. Investtech er hverken direkte eller indirekte ansvarlig for tab, der opstår som følge af brug af Investtechs analyser. Oplysninger om eventuelle interessekonflikter vil altid fremgå af investeringsanbefalingen. Yderligere information om Investtechs analyser findes på infosiden.
Investeringsanbefalinge(r)n(e) er udarbejdet af Investtech.com AS ("Investtech"). Investtech garanterer ikke for fuldstændigheden eller rigtigheden af analysen. Eventuel eksponering i forhold til de råd / signaler, som fremkommer i analyserne, står helt og holdent for investors regning og risiko. Investtech er hverken direkte eller indirekte ansvarlig for tab, der opstår som følge af brug af Investtechs analyser. Oplysninger om eventuelle interessekonflikter vil altid fremgå af investeringsanbefalingen. Yderligere information om Investtechs analyser findes på infosiden.