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. اقرأ المزيد في شروط الاستخدام.