Chart Pattern Nodes
Classic price-structure patterns (reversals, triangles, flags, wedges, rectangles and channels) detected from price and drawn where a trader would draw them, with breakout triggers fired at the real break bar.
Node families
Reversal patterns
Head & shoulders (and inverse), double and triple tops/bottoms, and rounding tops/bottoms, detected with a graded quality score rather than a brittle gate pile.
H&S · double/triple · roundingTriangles
Ascending, descending and symmetrical triangles, detected by scanning all windows for converging trendlines with real touch counts.
ascending · descending · symmetricalFlags, pennants & wedges
Continuation structures off an impulsive pole: close-based pole detection and an enclosing channel, with the breakout marked where it actually occurs.
flag · pennant · wedgeRectangles & channels
Horizontal ranges and price channels detected level-first (≥2 touches per band), with range-touch / breakout triggers.
rectangle · channelDesigned to be honest on the chart
Pattern detectors here are stateless scan-all: every call re-derives all patterns over the window and forward-scans for the breakout, so detections are deterministic and the full history is shown, not just the latest instance pinned to the right edge.
Lines on price, not floating
Each trendline is drawn from its own pivots so it sits on the structure, and invalidated patterns are cleared rather than left lingering.
One graded quality knob
Instead of a stack of binary gates that silently kill detection, a single quality threshold tunes how strict the detector is.
