Do chart patterns predict anything?
Short answerSometimes, a little, and far less than shared chart examples suggest. When researchers turned patterns such as the head-and-shoulders into exact computer rules and tested them on large samples, some patterns were followed by returns that differed measurably from ordinary days (Lo, Mamaysky and Wang, 2000), and a head-and-shoulders trading rule made money in two of six currencies but not the other four (Osler and Chang, 1995). A measurable difference is not the same as a profit after costs, though, results changed across markets and periods, and pure random walks produce convincing patterns too.
So a shape you spot on a chart is not yet a reason to trade. It becomes evidence only after you define it precisely, count every occurrence, including the failures, and compare what followed with what happens at any other time in the same market. This lesson shows why that is hard and how to do it.
What a chart pattern is#
A chart pattern is a recognizable shape in a price chart that traders believe signals what comes next. Most patterns are built from swing highs and swing lows, the turning points where price reversed for a while. Two common examples:
- A head-and-shoulders top has three peaks: a left shoulder, a higher head and a right shoulder at about the height of the left one. The neckline connects the two troughs between the peaks. The pattern is called complete when price closes below the neckline, and it is read as a sign that an uptrend is ending. The inverse head-and-shoulders is the mirror image at a bottom.
- A double top has two peaks at about the same height with a trough between them. A close below that trough completes it.
Osler and Chang (1995) chose the head-and-shoulders for their study because practitioners regard it as one of the most reliable patterns, which makes it a fair first test for the whole family of visual patterns.
Why chart patterns are hard to test#
Patterns are hard to test for three reasons: their definitions are loose, they are only finished after the fact, and the examples people share are the ones that worked. Each problem can make a pattern look more reliable than it is, and each has a fix that the next sections use.
Definitions are subjective#
Two traders can look at the same chart and disagree about whether a head-and-shoulders is there. How much higher than the shoulders must the head be? How close must the shoulders be to each other? How many days may the pattern take? Lo, Mamaysky and Wang (2000) named this subjectivity as a main obstacle to testing technical analysis. Their algorithm had to commit to numbers: for example, the two shoulders had to be within 1.5% of their average, and the two troughs too, with each pattern completed within a 38-day window. Change any of those numbers and the set of patterns found changes with it.
Hindsight: the pattern is finished only after the fact#
A right shoulder becomes a shoulder only once price has fallen away from it, and a swing high is only known some bars after it happens. On a finished chart, every turning point is visible at once, so it is easy to imagine having seen the pattern sooner than anyone could have. Lo, Mamaysky and Wang measured returns starting three days after the pattern's last turning point to avoid that look-ahead bias (What is look-ahead bias, and how does it get into a backtest?). Psychology research describes the related hindsight bias: once people know an outcome, they judge it as more predictable than it was and overestimate what they would have known in advance (Fischhoff, 1975).
Shared examples are survivors#
Books, posts and courses show the patterns that worked, because a head-and-shoulders followed by a crash makes a better picture than one followed by nothing. Sullivan, Timmermann and White (1999) described the same effect for trading rules: over the years, rules that happened to perform well get attention and the failures are forgotten, so the survivors' track records look better than chance would explain. Judging a pattern from a gallery of shared examples is like judging a lottery from interviews with winners.
What the research on chart patterns found#
The research gives a mixed answer. Precisely defined patterns carried some information in some markets: returns after seven of ten patterns differed from normal for stocks on the New York and American stock exchanges from 1962 to 1996, and after all ten for Nasdaq stocks. A head-and-shoulders rule worked for two currencies out of six. But information is weaker than profit, and later studies found little support for trading a pattern on its own or for rules holding up in later years. The main studies:
- Lo, Mamaysky and Wang (2000) automated the search for ten patterns, including head-and-shoulders, double tops and bottoms, triangles and rectangles. They applied it to US stocks from 1962 to 1996, 50 randomly chosen stocks in each five-year period, and compared returns after each pattern with returns on all days. For stocks listed on the New York and American stock exchanges, the distributions differed significantly for seven of the ten patterns. For Nasdaq stocks, they differed for all ten. The authors stressed that this kind of information does not guarantee a profitable trading strategy.
- Osler and Chang (1995) tested a head-and-shoulders trading rule on daily exchange rates of six currencies against the US dollar from March 1973 to June 1994. It showed some predictive power for the German mark and the Japanese yen, but not for the Canadian dollar, Swiss franc, French franc or British pound. Profits for the yen and the mark stayed substantial after transaction costs, interest differentials and risk.
- Savin, Weller and Zvingelis (2007) used a modified version of Lo, Mamaysky and Wang's algorithm on data from the S&P 500 and Russell 2000 from 1990 to 1999. They found strong evidence that the head-and-shoulders helped predict excess returns: a strategy conditioned on the pattern earned 5% to 7% a year above what its risk would explain. Yet they found little or no support for trading the pattern on its own profitably. Its value showed up when combined with holding the market.
- Sullivan, Timmermann and White (1999) tested nearly 8,000 variants of simple technical rules on the Dow Jones Industrial Average. After adjusting for data snooping, the risk that some rule looks good by chance when many are tried on the same data, the best rule beat the benchmark from 1897 to 1986 but not in the following ten years.
- Menkhoff and Taylor (2007), reviewing the foreign exchange literature, listed as a stylized fact that the performance of technical trading rules is highly unstable over time.
Random walks draw patterns too (synthetic data)#
A pattern can appear in data that contains no information at all. Lo, Mamaysky and Wang showed this in the working-paper version of their study: in simulated random walks matched to the volatility of their stocks, their algorithm still found 577 head-and-shoulders patterns, against 1,611 in the real New York and American exchange data. The real data had more, which suggests real prices are not pure random walks, but the random walks were far from empty.
The demonstration below repeats the idea. It uses synthetic data: 1,000 random walks of 250 bars each, in which every bar's move is a fresh random draw with a typical size of 1.5% and no trend. By construction, nothing in a walk's past says anything about its future. Any pattern in them is a coincidence.
The rule used to find head-and-shoulders patterns#
The scan uses a simplified version of Lo, Mamaysky and Wang's definition, with every number fixed before looking at the results:
- A swing high is a close that is the highest of the five bars on each side, and a swing low is the lowest. A swing is therefore known only five bars after it happens.
- A head-and-shoulders is five swings in a row, high, low, high, low, high, with the middle high above the other two, the two shoulders within 1.5% of their average, the two troughs within 1.5% of their average, and at most 40 bars from the first shoulder to the last.
- The pattern is confirmed by the first close below the lower trough, once the right shoulder is known and within 15 bars of it.
- A trader acting on that close could buy or sell no earlier than the next bar's open, which in this continuous synthetic market equals the confirming close. The outcome is the return over the next 20 bars.
What followed the patterns#
The rule found 370 confirmed head-and-shoulders patterns in 329 of the 1,000 walks, about one walk in three. Over the 20 bars after confirmation, price fell in 185 cases, or 50.0%. Across every 20-bar window in the same walks, price fell 49.7% of the time. The average 20-bar return was +0.44% after a pattern and +0.29% across all windows. With 370 patterns, a share near 50% has a sampling error of about 50 ÷ √370 ≈ 2.6 percentage points, so the difference is noise, as it must be in a random walk.
Now imagine sharing only the ten most dramatic cases. The ten largest falls after a pattern averaged −14.8% over 20 bars. A gallery of those ten charts would look like strong evidence for the head-and-shoulders, even though the full count shows none. Real markets are not pure random walks, and this demonstration does not prove that patterns are useless there. It shows that seeing a pattern, even many times, is not evidence until it is counted against a baseline.
How to turn a chart pattern into a testable rule#
A pattern becomes testable once every judgment call is replaced by a number written down before you look at the results. The steps below follow the scan above, and How do I turn something I noticed on a chart into a rule I can test? covers them in more depth:
- Define the shape with numbers. How a swing is identified, how close the shoulders must be, how long the pattern may take.
- Define when it is known. Use a closed candle as the signal and the next candle's open as the earliest fill, never the signal candle's own close.
- Fix the exit in advance. A holding period, a price target or a stop, decided before the test.
- Count every occurrence. Let the rule find the patterns, so the failures are counted as carefully as the successes.
- Compare with a baseline. What happened over the same holding period at any time in the same market, or after random entries.
- Include costs and check the sample. Subtract fees, spread and slippage, and remember that with n cases a share near 50% is uncertain by about 50 ÷ √n percentage points.
- Count your attempts and keep data in reserve. If you try many versions of the rule, some will look good by luck. Test the final version on data you did not use to design it (What is out-of-sample testing, and how do I set one up?).
Valmy noteValmy's v1 strategy language evaluates closed five-minute candles and offers constants, lagged values, the simple moving average, arithmetic, comparisons and crossovers, with no built-in pattern detector (as of 26 November 2026). A pattern idea has to be reduced to conditions of that kind, such as a close below a price you set, before it can be backtested there.
What could change the conclusion about chart patterns?#
The evidence above could look different for the market and period you trade, in either direction:
- Market and period. The same patterns tested differently on New York and American exchange stocks than on Nasdaq stocks, and the head-and-shoulders rule worked for two currencies out of six. A result from one market does not carry over automatically.
- Costs and risk. Lo, Mamaysky and Wang measured information, not profit, and Savin, Weller and Zvingelis found little support for trading the pattern on its own. Fees, spreads and slippage can erase a small edge.
- Decay. Rule performance has been unstable over time, and the best rule in Sullivan, Timmermann and White's study stopped beating the benchmark after 1986. Widely known patterns may be traded away.
- Definitions. A different swing size or tolerance finds different patterns. A rule that works only with one exact setting is probably fitted to noise (Why did my backtest work when live trading didn't?).
- Crypto evidence is thin. This pass found no large peer-reviewed test of classic chart patterns on crypto markets, so the studies above come from stocks and currencies.
- The demonstration is synthetic. The random walks show what pure chance produces. They do not show what real prices do, and Lo, Mamaysky and Wang's real data contained more head-and-shoulders patterns than their simulated walks.
Check your understanding: weighing pattern evidence#
Question. A forum post shows 8 head-and-shoulders charts from a crypto pair, and price fell after 7 of them. You write a mechanical rule and scan five years of the same pair's hourly candles. It finds 140 confirmed patterns, and price fell over the next 20 candles after 74 of them. Across all 20-candle windows in the same data, price fell 51% of the time. Before settling on this rule, you tried 40 variants of the definition.
- What share fell in the forum examples, and in your scan?
- Is the scan's result clearly better than the baseline?
- If none of the 40 variants had any real edge and each was tested at the 5% significance level, how many would you expect to look significant by luck?
Show the answers
Answer.
- Forum: 7 ÷ 8 = 87.5%. Scan: 74 ÷ 140 ≈ 52.9%. The forum examples were chosen by people who remembered or posted them, so they are survivors. The scan counts every occurrence.
- No. The scan beats the 51% baseline by about 1.9 percentage points, while the sampling error with 140 cases is about 50 ÷ √140 ≈ 4.2 points. The difference is well within noise, and costs would reduce it further.
- About 40 × 0.05 = 2 variants. If the tests were independent, the chance that at least one passes by luck would be 1 − 0.95⁴⁰ ≈ 87%. Variants of one pattern are not fully independent, but the point stands: keep a record of everything you tried, and confirm the chosen rule on data you held back.
Related lessons#
- Before this lesson: When does a breakout fail? and Why did my backtest work when live trading didn't? Overfitting and data snooping
- Next: How do I turn something I noticed on a chart into a rule I can test? and What is out-of-sample testing, and how do I set one up?
- See also: Where do support and resistance come from?, Why do two traders read the same chart differently?, Do Fibonacci retracements work? and What is look-ahead bias, and how does it get into a backtest?