PROTECTED SOURCE SCRIPT
Updated

Harmonic Patterns with Potential Detection

570
This indicator is designed to automatically detect commonly used Harmonic Patterns in financial markets and provide early warnings for "Potential" patterns that have not yet completed. It utilizes a Multi-ZigZag structure to analyze price movements across different timeframes simultaneously.

Key Features:

Advanced Pattern Detection:
Detects the following 8 harmonic patterns in both Bullish and Bearish directions:
Gartley
Bat
Alt Bat
Butterfly
Crab
Deep Crab
Shark
Cypher
Potential Pattern Detection (Early Warning System):
Calculates the probable D point (Entry Level) after the C point is formed, even before the pattern is fully completed, and visualizes it with dashed lines.
This feature allows traders to prepare and plan their trading strategies before the pattern completes.
Automatically plots Entry, Stop, and Target levels for potential patterns.
Multi-ZigZag Analysis:
Scans the market using 5 different ZigZag lengths (5, 10, 15, 20, 50). This allows you to see both short-term and long-term patterns on the same chart.
Each ZigZag period uses distinct color coding, making it easy to distinguish which timeframe a pattern belongs to.
User-Friendly Visuals:
Completed patterns are shown with clear lines and labels (X, A, B, C, D).
Hovering over pattern labels (Tooltip) displays detailed information including the pattern name, entry, target, and stop levels.
Only valid and active patterns are highlighted to prevent visual clutter.
Alert System:
You can set alerts for both completed patterns (when point D is formed) and potential patterns (when point C is formed).
Fully compatible with the TradingView alert system.
How to Use:

Add the indicator to your chart.
Select which patterns to scan for in the settings menu (all are selected by default).
Customize ZigZag sensitivities according to your strategy.
Dashed lines indicate "Potential" (uncompleted) opportunities, while solid lines indicate "Completed" patterns.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute investment advice. Harmonic patterns are probability-based analysis methods and may not always yield successful results.
Release Notes
Gartley
Release Notes
It was released publicly for a few days.

This indicator is designed to automatically detect commonly used Harmonic Patterns in financial markets and provide early warnings for "Potential" patterns that have not yet completed. It utilizes a Multi-ZigZag structure to analyze price movements across different timeframes simultaneously.

Key Features:

Advanced Pattern Detection:
Detects the following 8 harmonic patterns in both Bullish and Bearish directions:
Gartley
Bat
Alt Bat
Butterfly
Crab
Deep Crab
Shark
Cypher
Potential Pattern Detection (Early Warning System):
Calculates the probable D point (Entry Level) after the C point is formed, even before the pattern is fully completed, and visualizes it with dashed lines.
This feature allows traders to prepare and plan their trading strategies before the pattern completes.
Automatically plots Entry, Stop, and Target levels for potential patterns.
Multi-ZigZag Analysis:
Scans the market using 5 different ZigZag lengths (5, 10, 15, 20, 50). This allows you to see both short-term and long-term patterns on the same chart.
Each ZigZag period uses distinct color coding, making it easy to distinguish which timeframe a pattern belongs to.
User-Friendly Visuals:
Completed patterns are shown with clear lines and labels (X, A, B, C, D).
Hovering over pattern labels (Tooltip) displays detailed information including the pattern name, entry, target, and stop levels.
Only valid and active patterns are highlighted to prevent visual clutter.
Alert System:
You can set alerts for both completed patterns (when point D is formed) and potential patterns (when point C is formed).
Fully compatible with the TradingView alert system.
How to Use:

Add the indicator to your chart.
Select which patterns to scan for in the settings menu (all are selected by default).
Customize ZigZag sensitivities according to your strategy.
Dashed lines indicate "Potential" (uncompleted) opportunities, while solid lines indicate "Completed" patterns.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute investment advice. Harmonic patterns are probability-based analysis methods and may not always yield successful results.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.