Breakout Pattern Setup [WillyAlgoTrader]

Published on MillionChart by AlgoTraderX.

Breakout Pattern Setup is an overlay that automatically finds converging price channels (wedges, triangles and pennants), watches for breakouts, and scores them. It fits trendlines to confirmed pivot points, checks the channel is narrowing, then grades the breakout and places targets and stops from the measured move.

How it works:
- Boundary-fit trendlines: tests pairs of pivot highs and pivot lows, rejects lines that are overshot by more than an ATR-based tolerance, and keeps the pair with the most touches. The scan reruns on new pivots and at a set bar interval.
- Channel validation: the channel must be converging, within an ATR-based width range, show volume contraction (optional), have the previous close inside, and have no inversion between the boundaries.
- Directional score while inside: combines channel slope, RSI bias and price position into a bull or bear lean (above 60 bullish, below 40 bearish).
- Breakout strength (0 to 100): weighs penetration depth, body ratio, body commitment, volume and RSI momentum, then labels it Strong, Medium or Weak.
- Targets: breakout boundary plus the channel width, with TP1, TP2 and TP3 at one third, two thirds and the full move. The stop sits at the opposite boundary, and moves to breakeven after TP1.

A dashboard summarizes the current state, and trade outcomes are tracked on the chart.