INVITE-ONLY SCRIPT
TraderDemircan - Ultimate Fibonacci Suite v2.0

Ultimate Fibonacci Suite v2.0 - Advanced Harmonic Pattern Detection & XABCD Analysis
-Overview
The Ultimate Fibonacci Suite v2.0 is a comprehensive technical analysis tool that combines advanced Fibonacci retracement/extension levels with automatic harmonic pattern detection and XABCD formation analysis. This indicator is designed for traders who want to identify high-probability reversal zones using multiple confluence techniques.
-What Makes This Script Original?
This indicator goes beyond simple Fibonacci retracements by:
Automatic XABCD Formation Detection: Identifies complete X-A-B-C-D patterns in real-time, marking each critical point with precise Fibonacci relationships
Multi-Pattern Harmonic Recognition: Detects 5 major harmonic patterns (Gartley, Butterfly, Bat, Crab, Shark) with customizable tolerance levels
Confluence Zone Analysis: Automatically identifies areas where multiple Fibonacci levels converge, highlighting the strongest support/resistance zones
Integrated Risk Management: Calculates position sizing, stop-loss placement, and multiple take-profit targets based on pattern completion
Adaptive Mode Selection: Offers preset configurations for different trading styles (Scalper, Day Trader, Swing Trader)
-Key Features
Fibonacci Levels (15 levels available)
Standard retracement levels: 0.236, 0.382, 0.5, 0.618, 0.786
Extension levels: 1.272, 1.414, 1.618, 2.0, 2.618, 3.618, 4.236
All levels individually customizable with color and visibility options
Harmonic Pattern Detection
The indicator automatically identifies these harmonic patterns with their specific Fibonacci ratios:
Gartley Pattern (B: 0.618, D: 0.786) - 75% historical success rate
Butterfly Pattern (B: 0.786, D: 1.272-1.618) - 70% success rate
Bat Pattern (B: 0.382-0.5, D: 0.886) - 80% success rate
Crab Pattern (B: 0.382-0.618, D: 1.618) - 85% success rate
Shark Pattern (B: 0.382-0.618, D: 1.13-1.618) - 72% success rate
Each pattern displays its probability percentage and clearly marks the Potential Reversal Zone (PRZ).
XABCD Formation System
X Point: Initial swing low (0.0 level)
A Point: Peak of the move (1.0 level)
B Point: Retracement level (typically 0.382, 0.5, or 0.618)
C Point: Projected target for the corrective move
D Point (PRZ): The optimal entry zone for reversal trades
The system validates formations to ensure B point hasn't been violated and minimum swing size requirements are met.
Risk Management Tools
Automatic Stop-Loss Calculation: Placed below X point with buffer
Three Take-Profit Levels: TP1 (1.272), TP2 (1.618), TP3 (2.0) - all customizable
Position Size Calculator: Based on account size and risk percentage
Risk/Reward Ratio Display: Real-time R:R calculation for each setup
Confluence Zone Detection
Identifies areas where 2+ Fibonacci levels intersect within 0.5% price range
Highlights these zones with colored boxes
Customizable threshold for confluence detection (2-5 levels)
Trend Filter
Optional moving average filter (customizable period)
Can restrict pattern display to trend-aligned setups only
Visual trend indication on chart
-How It Works?
The indicator uses a sophisticated algorithm that:
Scans for Swing Points: Analyzes the last N bars (customizable 10-200) to identify significant swing lows and highs
Validates Swing Size: Filters out minor movements using a minimum swing size percentage threshold
Calculates Fibonacci Levels: Projects all retracement and extension levels from the identified X and A points
Monitors Price Action: Tracks current price to determine B point formation
Projects Targets: Calculates C and D targets based on the pattern's Fibonacci relationships
Pattern Recognition: Compares B retracement ratio against known harmonic pattern specifications
Risk Parameters: Automatically sets stop-loss and take-profit levels with position sizing
-Customization Options
Four Trading Modes:
Complete: All features enabled
Scalper: Optimized for short-term trades with tighter parameters
Day Trader: Balanced settings for intraday trading
Swing Trader: Longer-term focus with extended lookback periods
Display Settings:
Individual level visibility toggles
Custom colors for each Fibonacci level
Line style options (Solid, Dashed, Dotted)
Line thickness adjustment
Label display options (price/percentage/both)
Line extension controls (left/right/both)
Alert System:
Pattern completion alerts
C target achievement notifications
Key Fibonacci level breakout alerts
All alerts customizable on/off
-How to Use?
Apply the Indicator: Add to your chart and select your trading mode
Wait for Formation: The indicator will automatically detect valid XABCD formations
Identify Pattern Type: Check the pattern label to see which harmonic pattern is forming
Monitor Price Action: Watch for price to reach the D point (PRZ) - your potential entry zone
Execute Trade: Enter when price reaches D with:
Stop loss at the displayed SL level
Take profits at TP1, TP2, and TP3 levels
Use Confluence: Pay extra attention to setups where D point aligns with confluence zones
-Recommended Settings
For Scalping: Lookback 20-30 bars, Min Swing 0.5%, Tight TP levels
For Day Trading: Lookback 50 bars (default), Min Swing 1%, Standard TP levels
For Swing Trading: Lookback 100-150 bars, Min Swing 2%, Extended TP levels
Pattern Tolerance: 5% (default) - increase for more patterns, decrease for stricter detection
-Statistics Panel
Optional real-time statistics display showing:
Current pattern type and probability
Risk/reward ratio
Recommended position size
Distance to key levels
-Important Notes
This indicator does not repaint: All calculations are based on closed bars
Past performance is not indicative of future results: Use proper risk management
Best used with additional confirmation: Consider volume, trend context, and other indicators
Pattern completion does not guarantee reversal: Always use stop-losses
Optimized for trending markets: Works best when clear swings are present
-Technical Details
Pine Script Version: v6 (latest)
Overlay: Yes - plots directly on price chart
Max Lines/Labels/Boxes: 500 each
Calculation Method: Based on classical Fibonacci ratios and harmonic trading principles
No Repainting: All signals generated on bar close
-Educational Value
This indicator helps traders understand:
Fibonacci retracement/extension relationships
Harmonic pattern geometry and ratios
XABCD pattern structure
Confluence trading concepts
Risk management principles
-Who Is This For?
Traders familiar with Fibonacci analysis
Harmonic pattern traders
Price action traders looking for objective entry zones
Risk-conscious traders who want built-in money management
Anyone seeking to identify high-probability reversal zones
-Overview
The Ultimate Fibonacci Suite v2.0 is a comprehensive technical analysis tool that combines advanced Fibonacci retracement/extension levels with automatic harmonic pattern detection and XABCD formation analysis. This indicator is designed for traders who want to identify high-probability reversal zones using multiple confluence techniques.
-What Makes This Script Original?
This indicator goes beyond simple Fibonacci retracements by:
Automatic XABCD Formation Detection: Identifies complete X-A-B-C-D patterns in real-time, marking each critical point with precise Fibonacci relationships
Multi-Pattern Harmonic Recognition: Detects 5 major harmonic patterns (Gartley, Butterfly, Bat, Crab, Shark) with customizable tolerance levels
Confluence Zone Analysis: Automatically identifies areas where multiple Fibonacci levels converge, highlighting the strongest support/resistance zones
Integrated Risk Management: Calculates position sizing, stop-loss placement, and multiple take-profit targets based on pattern completion
Adaptive Mode Selection: Offers preset configurations for different trading styles (Scalper, Day Trader, Swing Trader)
-Key Features
Fibonacci Levels (15 levels available)
Standard retracement levels: 0.236, 0.382, 0.5, 0.618, 0.786
Extension levels: 1.272, 1.414, 1.618, 2.0, 2.618, 3.618, 4.236
All levels individually customizable with color and visibility options
Harmonic Pattern Detection
The indicator automatically identifies these harmonic patterns with their specific Fibonacci ratios:
Gartley Pattern (B: 0.618, D: 0.786) - 75% historical success rate
Butterfly Pattern (B: 0.786, D: 1.272-1.618) - 70% success rate
Bat Pattern (B: 0.382-0.5, D: 0.886) - 80% success rate
Crab Pattern (B: 0.382-0.618, D: 1.618) - 85% success rate
Shark Pattern (B: 0.382-0.618, D: 1.13-1.618) - 72% success rate
Each pattern displays its probability percentage and clearly marks the Potential Reversal Zone (PRZ).
XABCD Formation System
X Point: Initial swing low (0.0 level)
A Point: Peak of the move (1.0 level)
B Point: Retracement level (typically 0.382, 0.5, or 0.618)
C Point: Projected target for the corrective move
D Point (PRZ): The optimal entry zone for reversal trades
The system validates formations to ensure B point hasn't been violated and minimum swing size requirements are met.
Risk Management Tools
Automatic Stop-Loss Calculation: Placed below X point with buffer
Three Take-Profit Levels: TP1 (1.272), TP2 (1.618), TP3 (2.0) - all customizable
Position Size Calculator: Based on account size and risk percentage
Risk/Reward Ratio Display: Real-time R:R calculation for each setup
Confluence Zone Detection
Identifies areas where 2+ Fibonacci levels intersect within 0.5% price range
Highlights these zones with colored boxes
Customizable threshold for confluence detection (2-5 levels)
Trend Filter
Optional moving average filter (customizable period)
Can restrict pattern display to trend-aligned setups only
Visual trend indication on chart
-How It Works?
The indicator uses a sophisticated algorithm that:
Scans for Swing Points: Analyzes the last N bars (customizable 10-200) to identify significant swing lows and highs
Validates Swing Size: Filters out minor movements using a minimum swing size percentage threshold
Calculates Fibonacci Levels: Projects all retracement and extension levels from the identified X and A points
Monitors Price Action: Tracks current price to determine B point formation
Projects Targets: Calculates C and D targets based on the pattern's Fibonacci relationships
Pattern Recognition: Compares B retracement ratio against known harmonic pattern specifications
Risk Parameters: Automatically sets stop-loss and take-profit levels with position sizing
-Customization Options
Four Trading Modes:
Complete: All features enabled
Scalper: Optimized for short-term trades with tighter parameters
Day Trader: Balanced settings for intraday trading
Swing Trader: Longer-term focus with extended lookback periods
Display Settings:
Individual level visibility toggles
Custom colors for each Fibonacci level
Line style options (Solid, Dashed, Dotted)
Line thickness adjustment
Label display options (price/percentage/both)
Line extension controls (left/right/both)
Alert System:
Pattern completion alerts
C target achievement notifications
Key Fibonacci level breakout alerts
All alerts customizable on/off
-How to Use?
Apply the Indicator: Add to your chart and select your trading mode
Wait for Formation: The indicator will automatically detect valid XABCD formations
Identify Pattern Type: Check the pattern label to see which harmonic pattern is forming
Monitor Price Action: Watch for price to reach the D point (PRZ) - your potential entry zone
Execute Trade: Enter when price reaches D with:
Stop loss at the displayed SL level
Take profits at TP1, TP2, and TP3 levels
Use Confluence: Pay extra attention to setups where D point aligns with confluence zones
-Recommended Settings
For Scalping: Lookback 20-30 bars, Min Swing 0.5%, Tight TP levels
For Day Trading: Lookback 50 bars (default), Min Swing 1%, Standard TP levels
For Swing Trading: Lookback 100-150 bars, Min Swing 2%, Extended TP levels
Pattern Tolerance: 5% (default) - increase for more patterns, decrease for stricter detection
-Statistics Panel
Optional real-time statistics display showing:
Current pattern type and probability
Risk/reward ratio
Recommended position size
Distance to key levels
-Important Notes
This indicator does not repaint: All calculations are based on closed bars
Past performance is not indicative of future results: Use proper risk management
Best used with additional confirmation: Consider volume, trend context, and other indicators
Pattern completion does not guarantee reversal: Always use stop-losses
Optimized for trending markets: Works best when clear swings are present
-Technical Details
Pine Script Version: v6 (latest)
Overlay: Yes - plots directly on price chart
Max Lines/Labels/Boxes: 500 each
Calculation Method: Based on classical Fibonacci ratios and harmonic trading principles
No Repainting: All signals generated on bar close
-Educational Value
This indicator helps traders understand:
Fibonacci retracement/extension relationships
Harmonic pattern geometry and ratios
XABCD pattern structure
Confluence trading concepts
Risk management principles
-Who Is This For?
Traders familiar with Fibonacci analysis
Harmonic pattern traders
Price action traders looking for objective entry zones
Risk-conscious traders who want built-in money management
Anyone seeking to identify high-probability reversal zones
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系TraderDemircan_。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
ENG - Please send me a PRIVATE MESSAGE on TradingView. After reviewing your request, I will grant access within 24 hours.
TR - Lütfen bana TradingView üzerinden ÖZEL MESAJ gönderiniz. Talebinizi inceledikten sonra 24 saat içinde erişim vereceğim.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系TraderDemircan_。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
ENG - Please send me a PRIVATE MESSAGE on TradingView. After reviewing your request, I will grant access within 24 hours.
TR - Lütfen bana TradingView üzerinden ÖZEL MESAJ gönderiniz. Talebinizi inceledikten sonra 24 saat içinde erişim vereceğim.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。