OPEN-SOURCE SCRIPT
Harmonic Pattern Finder - Scanner [XoRonX]

Harmonic Pattern Finder - Scanner [XoRonX] is a Pine Script port and adaptation of the original MetaTrader 5 indicator “Harmonic Pattern Finder V3”.
This indicator scans price swings using an ATR-based ZigZag engine and identifies harmonic pattern structures based on Fibonacci ratio rules. It can display completed patterns, emerging projections, PRZ/PRS zones, ratio lines, and focused pattern details directly on the chart.
Supported patterns include:
Bat, Butterfly, Shark, Cypher, Crab, Deep Crab, and Gartley.
The scanner version also includes a multi-symbol dashboard for monitoring selected OANDA pairs and timeframes from one chart, subject to TradingView’s `request.security()` limits.
Features:
- ATR ZigZag based swing detection
- Harmonic pattern validation using Fibonacci ratio windows
- Completed and emerging pattern display
- PRZ / PRS line and box visualization
- Optional ratio lines and pattern labels
- Multi-pair scanner dashboard in the scanner version
- Configurable symbols, timeframes, colors, filters, and display limits
Credit and Source:
This TradingView version was created from and inspired by the original MQL5 source code:
[Harmonic Pattern Finder V3 - MetaTrader 5 by Andre Enger](mql5.com/en/code/22218)
Original MQL5 page notes that the indicator was a joint work between Andre Enger and David Gadelha and was published in the MQL5 CodeBase in 2018.
Disclaimer:
This indicator is intended for technical analysis and educational use only. Harmonic patterns do not guarantee future price movement. Always use proper risk management and confirm signals with your own trading plan.
This indicator scans price swings using an ATR-based ZigZag engine and identifies harmonic pattern structures based on Fibonacci ratio rules. It can display completed patterns, emerging projections, PRZ/PRS zones, ratio lines, and focused pattern details directly on the chart.
Supported patterns include:
Bat, Butterfly, Shark, Cypher, Crab, Deep Crab, and Gartley.
The scanner version also includes a multi-symbol dashboard for monitoring selected OANDA pairs and timeframes from one chart, subject to TradingView’s `request.security()` limits.
Features:
- ATR ZigZag based swing detection
- Harmonic pattern validation using Fibonacci ratio windows
- Completed and emerging pattern display
- PRZ / PRS line and box visualization
- Optional ratio lines and pattern labels
- Multi-pair scanner dashboard in the scanner version
- Configurable symbols, timeframes, colors, filters, and display limits
Credit and Source:
This TradingView version was created from and inspired by the original MQL5 source code:
[Harmonic Pattern Finder V3 - MetaTrader 5 by Andre Enger](mql5.com/en/code/22218)
Original MQL5 page notes that the indicator was a joint work between Andre Enger and David Gadelha and was published in the MQL5 CodeBase in 2018.
Disclaimer:
This indicator is intended for technical analysis and educational use only. Harmonic patterns do not guarantee future price movement. Always use proper risk management and confirm signals with your own trading plan.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.