What it shows
The detector finds classical chart patterns in the swings the ZigZag draws. Each is drawn with its points, its line (the neckline, the channel, the edges or the rim) and a short label that points the way it breaks. After a breakout an arrow marks the bar and a dotted line marks the target.
| Pattern | Rule |
|---|---|
| Double top | Two highs at about the same level with a low between them; it completes on a close below that low. |
| Double bottom | Two lows at about the same level with a high between them; it completes on a close above that high. |
| Triple top | Three highs at about the same level with two lows between them; it completes on a close below the lower low. |
| Triple bottom | Three lows at about the same level with two highs between them; it completes on a close above the higher high. |
| Head and shoulders | A high (the head) between two lower highs (the shoulders); it completes on a close below the neckline through the lows between them. |
| Inverse head and shoulders | A low (the head) between two higher lows (the shoulders); it completes on a close above the neckline through the highs between them. |
| Rising wedge | Higher highs and steeper higher lows narrowing into a point; bearish, it breaks on a close below the lower line. |
| Falling wedge | Lower lows and steeper lower highs narrowing into a point; bullish, it breaks on a close above the upper line. |
| Triangle | Highs and lows converging, one side flat or both sloping in; it breaks on a close through either line. |
| Rectangle | Equal highs and equal lows; it breaks on a close through either line. |
| Bullish flag | A sharp rise (the pole), then a short channel that drifts down or sideways; it breaks on a close above the channel. |
| Bearish flag | A sharp fall (the pole), then a short channel that drifts up or sideways; it breaks on a close below the channel. |
| Bullish pennant | A sharp rise (the pole), then a short narrowing triangle; it breaks on a close above it. |
| Bearish pennant | A sharp fall (the pole), then a short narrowing triangle; it breaks on a close below it. |
| Cup and handle | A rounded dip between two highs at about the same level, then a shallow pullback (the handle); it breaks on a close above the right high. |
| Inverted cup and handle | A rounded rise between two lows at about the same level, then a shallow bounce (the handle); it breaks on a close below the right low. |
How it works
1Swings make the points
Every pattern is built from the ZigZag’s swings. A flag needs a pole first: a move of at least 3 ATR. A reversal pattern needs a move into it at least 1.25× its own height, so the swings of a range read as a rectangle rather than a double top.
2Forming, then complete
While its last swing is still moving, a pattern is dashed and its label ends in a question mark; it may change or vanish. It is complete once price turns from its last swing as far as the ZigZag needs, and its points no longer change.
3Breakout and target
A bar that closes through the pattern’s line breaks it. The target is measured the classical way: the pattern’s height, or a flag’s or pennant’s pole, from the break.
4Two-way patterns
Triangles and rectangles can break either way, so until they do they carry a faint target in both directions and the two-way color.
5Failed or expired
After a breakout a pattern reaches its target, fails when price goes back past the swing that would prove it wrong, or expires when it waits too long. Finished patterns stay on the chart, fainter.
How to use it
Turn on Chart patterns in the Detectors menu. Its settings sketch each pattern as you point at its switch and count the patterns on the loaded bars. Point at a pattern on the chart to see its rule, its status, its target and the price that would fail it; a breakout also shows its bar’s delta and its volume against the 20-bar average.
- Turn off the families you do not trade, so the chart shows only the ones you will test.
- A lower ATR multiplier in the ZigZag’s settings finds smaller swings, and so more and smaller patterns.
| Setting | Default | What changes |
|---|---|---|
| Level tolerance | 20% | How far tops or bottoms meant to be level may differ, as a share of the pattern’s height. |
| Prior trend | 1.25× | How far price must come into a reversal pattern, in its own heights. |
| Pole size | 3 ATR | How sharp a flag’s or pennant’s pole must be. |
| Max pullback | 60% | How far a flag or pennant may pull back into its pole. |
| Breakout delta must agree | Off | On counts a breakout only when its bar’s delta points the same way. |
What it does not tell you
- A target is a classical convention, the pattern’s height from the break. It is not a forecast.
- Forming patterns may change or vanish; only complete ones keep their points.
- Patterns come from the ZigZag’s swings, so another setting or timeframe finds other patterns.
- The page shows no hit rates: how often a pattern reached its target depends on the market and the settings. Test it on the data you trade.
Test it in the Strategy Builder
Chart pattern passes on a pattern’s breakout, completion, target or failure, for the pattern and direction you pick, from the closed bar it happened on, and gives its target and invalidation. Every event is dated to its bar and never changes afterwards.
Nodes to look for in the Strategy Builder’s palette:
- Chart pattern
Related
Other layers in this family
- Market structureBreaks of structure, shifts and swing failures, labeled at the bar they became known.
- Harmonic patternsGartley, Bat, Butterfly, Crab, Cypher and Shark: five swings in Fibonacci ratios, each with a zone and target.
- ZigZagThe swings of the session, joined high to low once price reverses by the set amount.
Questions
It was still forming: its last swing was moving, so it was dashed with a question mark. When price extended the swing, the pattern no longer fitted. Complete patterns keep their points.
The classical way: the pattern’s height, or a flag’s or pennant’s pole, measured from the break. It marks a distance, not a promise that price gets there.
Triangles and rectangles can break either way. Until a close breaks one of their lines, they carry a faint target in each direction.