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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。