Candlestick shapes and chart formations
92 candlestick shapes and 18 chart formations, each with the rule the detector applies and the numbers it applies it with.
QuantZ does not claim this shape has predictive value. The detector reports that the bars met a definition; it says nothing about what follows. Every rule on these pages is the detector’s own catalogue entry (src/lib/candlePatterns.ts and src/lib/chartPatterns.ts), and every threshold is the default the code reads, printed at render. A direction is the textbook’s label for a shape — the chart draws it as a glyph, never as an instruction.
Indicators are documented separately: the indicator registry.
Candlestick shapes · 92
Chart formations · 18
| Shape | Textbook label | Prior trend |
|---|---|---|
| Double top | ▼ bearish | none |
| Double bottom | ▲ bullish | none |
| Triple top | ▼ bearish | none |
| Triple bottom | ▲ bullish | none |
| Head and shoulders | ▼ bearish | none |
| Inverse head and shoulders | ▲ bullish | none |
| Ascending triangle | ▲ bullish | none |
| Descending triangle | ▼ bearish | none |
| Symmetrical triangle | ● neutral | none |
| Rising wedge | ▼ bearish | none |
| Falling wedge | ▲ bullish | none |
| Rectangle | ● neutral | none |
| Bullish flag | ▲ bullish | required |
| Bearish flag | ▼ bearish | required |
| Bullish pennant | ▲ bullish | required |
| Bearish pennant | ▼ bearish | required |
| Cup and handle | ▲ bullish | none |
| Inverted cup and handle | ▼ bearish | none |