Chart Pattern Recognition: Rules, Statuses and Limits
Guide · November 21, 2026Head and shoulders, double tops, triangles and flags are among the oldest ideas in technical analysis, and among the easiest to see in hindsight. Scroll back on any chart and you'll "find" a dozen. That's exactly the problem chart pattern recognition tries to solve: replacing "it looks like a triangle" with rules that say what a pattern is, when it's confirmed, and when it has failed.
This guide explains how automatic pattern recognition works, the patterns most tools look for, why a pattern's status matters more than its shape, and the honest limits of the whole idea.
What chart pattern recognition is
A chart pattern is a recognisable arrangement of swing highs and swing lows. Pattern recognition means finding those arrangements with fixed rules instead of by eye. A useful recogniser needs four things:
- A definition of a swing. Usually a fractal: a high with a few lower highs on each side, or a low with a few higher lows on each side.
- A tolerance. Two tops are never exactly equal. "Equal" has to mean "within X", and X should scale with volatility, for example a fraction of the Average True Range (ATR).
- A confirmation rule. A pattern isn't a pattern until price closes beyond a defined level (the neckline of a head and shoulders, the edge of a triangle).
- An invalidation rule. Equally important: the price level or condition that says "this was not the pattern after all."
Without the last two, recognition is just drawing shapes.
The patterns most tools look for
Reversal patterns
- Head and shoulders / inverse head and shoulders: three swings where the middle one (the head) is the most extreme and the outer two (the shoulders) are roughly level. Confirmation is a close through the neckline that joins the reaction swings between them.
- Double and triple tops / bottoms: two or three swing highs (or lows) at about the same price, separated by a reaction. Confirmation is a close through the reaction low (or high).
Continuation and breakout patterns
- Triangles: ascending (flat top, rising lows), descending (flat bottom, falling highs) and symmetric (both lines converging). A symmetric triangle has no built-in direction; the breakout decides it.
- Flags and pennants: a short pause after a sharp move. A flag is a small channel; a pennant is a small triangle. They're expected to resolve in the direction of the move before them, and they're time-limited: a flag that drifts for too long isn't a flag any more.
Why status matters more than shape
The most common mistake with patterns is treating a forming pattern as if it were confirmed. A double top that hasn't broken its reaction low is just two highs. Many of them become ranges, not reversals.
A good recogniser therefore tracks a status for every pattern, candle by candle:
- Forming: the shape is there, but price hasn't closed beyond the confirmation level.
- Confirmed: price closed beyond the confirmation level. This is the breakout.
- Done: after the breakout, price reached the pattern's measured target.
- Failed: the pattern didn't work, for one of three reasons:
- it was invalidated before breaking out (price closed beyond the level that rules it out);
- it expired (a triangle or flag that never broke out before running out of room or time);
- it reversed after the breakout (price came back through the pattern after confirming).
Seeing the failed patterns is as important as seeing the successful ones. A chart that only shows patterns that "worked" is a highlight reel, and it will make any pattern look more reliable than it is.
How traders use chart patterns
Sensible ways to use patterns:
- Wait for confirmation. Treat a forming pattern as a heads-up, not a decision. The close beyond the level is the event.
- Use the invalidation level. Every pattern comes with a point that says it was wrong. Many traders build their risk around that point rather than an arbitrary number of pips.
- Check the size. A pattern's measured move (for example, the height of a head and shoulders projected from the neckline) gives a rough sense of scale. Compare it with the distance to invalidation before getting interested.
- Read it in context. A double top into a higher-timeframe level, or a flag in the direction of the higher-timeframe trend, carries more weight than the same shape in the middle of nowhere.
- Respect time. Triangles and flags have a shelf life. If nothing has happened by the time the lines converge, the setup has usually gone stale.
Honest limitations
- Hindsight makes every pattern look clean. On historical charts you see the outcome, and your eye picks the version that worked. Rule-based recognition reduces this, but it doesn't remove it if you only look at confirmed examples.
- Settings change what's found. A 3-candle swing and a 5-candle swing find different patterns on the same chart; so does a tighter or looser tolerance. Choose settings once and keep them.
- Patterns are subjective even with rules. Two reasonable rule sets will disagree on borderline shapes. That's normal; it's why the confirmation and invalidation levels matter more than the label.
- Breakouts fail. Price often closes beyond a level and then comes straight back. A confirmed pattern is a condition, not a promise.
- Measured targets are geometry, not forecasts. A projected target says how big the pattern was. It doesn't say price will get there.
We hold our own tools to the same standard. Chart Patterns is one of seven inputs to PrimeScope's combined Total Score, and that score did not predict direction better than chance in our walk-forward test with fees. We published the result: primescope.app/our-test.
How PrimeScope shows chart patterns
- Chart Patterns (auto) (◆ Pro Tools, Smart Money), computed on the server on closed candles.
- Patterns recognised: head and shoulders and inverse head and shoulders, double and triple tops and bottoms, ascending, descending and symmetric triangles, flags and pennants.
- On the part of the chart you're looking at: patterns are found on the visible candles, with swings defined by 3 candles on each side and a tolerance of 0.6 × ATR by default. Both can be changed. Patterns don't overlap; when two compete, the newer one wins.
- A status on every pattern, tracked to the last candle: forming, confirmed, done or failed. Failed patterns say why: invalidated before the breakout, expired without one, or reversed after it. Failed patterns stay on the chart, so you see the misses as well as the hits.
- Geometry after a breakout: the measured target and the reward against risk from the breakout level are drawn, so you can judge the pattern's size against its invalidation.
- In the Total Score: one of seven tools, with a weight of 10 out of 100. A confirmed breakout counts and fades with age; a pattern that's still forming is only a weak hint.
To practise reading patterns without hindsight, use the Trainer: real history with the future hidden, where some stations ask you to name the pattern before you see what happened. See how to practise on real history without lookahead.
FAQ
What is chart pattern recognition?
Finding chart patterns such as head and shoulders, double tops, triangles and flags with fixed rules for swings, tolerance, confirmation and invalidation, instead of by eye.
Which chart patterns are most common?
Head and shoulders (and its inverse), double and triple tops and bottoms, triangles (ascending, descending, symmetric), and flags and pennants.
When is a chart pattern confirmed?
When price closes beyond the pattern's confirmation level, for example the neckline of a head and shoulders or the edge of a triangle. Before that, the pattern is only forming.
Why do chart patterns fail?
Some are invalidated before they break out, some expire without a breakout, and some break out and then reverse. Breakouts failing is normal, which is why the invalidation level matters.
Is a confirmed pattern a buy or sell signal?
No. It's a condition on the chart. Traders still decide entry, risk and size themselves, usually around the pattern's invalidation level and in the context of the higher timeframe.
Can automatic pattern recognition be wrong?
Yes. Different settings find different patterns, and borderline shapes are always debatable. Rules make the result consistent and checkable, not certain.
More guides: Liquidity sweep · Order block indicator · Automatic Elliott Wave count · Smart Money Concepts · SMT divergence · COT positioning · RSI divergence · Trading replay simulator · How to practise trading on real history · Our own test of the Total Score
See chart patterns free for 14 days
No card needed. PrimeScope is an analysis tool, not financial advice. Trading involves risk.