Harmonic Pattern Trading with Zigzag Swings and Fibonacci Ratios
Summary
The visible portion of this script identifies swing points with a candle-direction Zigzag calculation, then measures ratios between successive pivots to recognize harmonic formations. It defines ratio-based rules for patterns including Bat, Butterfly, Gartley, and ABCD, with bullish or bearish orientation inferred from the direction of the final swing. Inputs also offer Heikin-Ashi candles, an alternate timeframe, pattern display, and several Fibonacci levels. These elements describe a technical pattern-recognition framework, but the excerpt ends before the complete script or its trade-entry and exit rules are shown.
Despite its title’s claim to address repainting, the visible higher-timeframe request uses lookahead enabled, which can expose future higher-timeframe values on historical bars and make signals appear earlier than they would in live use. Zigzag swing points also depend on subsequent price action, so they may change as bars develop. The document gives no backtest settings, performance evidence, or explanation of how repainting is fixed. The ratio conditions and incomplete excerpt are insufficient to assess a complete trading system or its robustness.
Key ideas
- The script uses candle direction changes to construct Zigzag swing points for pattern analysis.
- Harmonic formations are identified by comparing ratios between successive swing points.
- The visible rules cover several patterns, including Bat, Butterfly, Gartley, and ABCD formations.
- The alternate-timeframe request uses lookahead, which can compromise historical signal timing.
- The excerpt omits complete trade rules and supplies no backtest results or evidence of a repainting fix.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.