OPEN-SOURCE SCRIPT
Smart Support / Resistance Zones PRO

Smart Support / Resistance Zones PRO
Advanced dynamic Support & Resistance zone indicator for TradingView.
This indicator detects and visualizes real market reaction zones instead of simple horizontal lines.
Zones are automatically validated by actual price retests, dynamically updated over time, and invalidated when broken.
Designed for:
• Price Action traders
• ICT / SMC traders
• Swing traders
• Scalpers
• Trend continuation & reversal analysis
Main Features
Dynamic Support & Resistance Zones
The indicator creates adaptive S/R zones using pivot structure and ATR-based volatility sizing.
Unlike classic line indicators:
• zones have real width,
• zones expand naturally,
• zones merge together when close,
• broken zones automatically stop extending.
Confirmed Retest Logic
A pivot alone does NOT create a valid support or resistance.
The zone becomes stronger only after:
1. Price leaves the zone,
2. Returns later,
3. Successfully retests it again.
This greatly reduces false supports/resistances and market noise.
Strength Percentage System
Each zone receives a strength score based on confirmed retests.
Examples:
• 20% = weak zone,
• 60% = medium strength,
• 100% = highly respected historical zone.
Stronger zones become:
• more visible,
• less transparent,
• visually emphasized.
Smart Weak Zone Filtering
Weak or unconfirmed zones can be automatically hidden.
This keeps the chart clean and highlights only meaningful institutional areas.
Support / Resistance Flip Detection
When a support breaks, it can automatically become resistance.
When resistance breaks, it can become support.
This behavior reflects real market structure transitions.
Adaptive ATR Zone Width
Zone width automatically adapts to volatility:
• tighter during low volatility,
• wider during high volatility.
Works especially well on:
• crypto,
• forex,
• indices,
• volatile sessions.
Multi-Timeframe Support & Resistance
Optional higher timeframe S/R detection.
Examples:
• trade on 15m chart,
• display additional 4H or Daily zones.
Useful for:
• confluence trading,
• HTF bias,
• institutional levels.
Heatmap Visualization
Zone transparency changes dynamically based on strength:
• weak zones = faded,
• strong zones = highlighted.
Creates a clean market heatmap effect.
Breakout Confirmation Modes
Choose how zones become invalidated:
• Candle Close breakout,
• Wick breakout.
Allows adaptation to different trading styles.
Alert System
Built-in alerts for:
• Support retests,
• Resistance retests,
• Support breaks,
• Resistance breaks.
Ideal for automated monitoring.
Recommended Markets
Optimized for:
• BTCUSDT
• ETHUSDT
• Forex pairs
• NASDAQ / SPX
• Gold
• High liquidity markets
Recommended Timeframes
Best performance on:
• 15m
• 1H
• 4H
• Daily
Suggested Settings
Crypto Scalping (5m–15m)
• Pivot Length: 5
• Confirmations for 100%: 8–10
• Minimum Retests: 1–2
Swing Trading (1H–4H)
• Pivot Length: 8–12
• Confirmations for 100%: 5–8
• Enable HTF zones
Notes
This indicator is designed to:
• reduce fake S/R zones,
• prioritize validated market structure,
• improve chart readability,
• provide institutional-style zone analysis.
No repainting after pivot confirmation.
Author Notes
The indicator focuses on realistic price interaction behavior rather than simplistic pivot plotting.
Supports:
• clean discretionary trading,
• confluence analysis,
• advanced price action workflows.
Advanced dynamic Support & Resistance zone indicator for TradingView.
This indicator detects and visualizes real market reaction zones instead of simple horizontal lines.
Zones are automatically validated by actual price retests, dynamically updated over time, and invalidated when broken.
Designed for:
• Price Action traders
• ICT / SMC traders
• Swing traders
• Scalpers
• Trend continuation & reversal analysis
Main Features
Dynamic Support & Resistance Zones
The indicator creates adaptive S/R zones using pivot structure and ATR-based volatility sizing.
Unlike classic line indicators:
• zones have real width,
• zones expand naturally,
• zones merge together when close,
• broken zones automatically stop extending.
Confirmed Retest Logic
A pivot alone does NOT create a valid support or resistance.
The zone becomes stronger only after:
1. Price leaves the zone,
2. Returns later,
3. Successfully retests it again.
This greatly reduces false supports/resistances and market noise.
Strength Percentage System
Each zone receives a strength score based on confirmed retests.
Examples:
• 20% = weak zone,
• 60% = medium strength,
• 100% = highly respected historical zone.
Stronger zones become:
• more visible,
• less transparent,
• visually emphasized.
Smart Weak Zone Filtering
Weak or unconfirmed zones can be automatically hidden.
This keeps the chart clean and highlights only meaningful institutional areas.
Support / Resistance Flip Detection
When a support breaks, it can automatically become resistance.
When resistance breaks, it can become support.
This behavior reflects real market structure transitions.
Adaptive ATR Zone Width
Zone width automatically adapts to volatility:
• tighter during low volatility,
• wider during high volatility.
Works especially well on:
• crypto,
• forex,
• indices,
• volatile sessions.
Multi-Timeframe Support & Resistance
Optional higher timeframe S/R detection.
Examples:
• trade on 15m chart,
• display additional 4H or Daily zones.
Useful for:
• confluence trading,
• HTF bias,
• institutional levels.
Heatmap Visualization
Zone transparency changes dynamically based on strength:
• weak zones = faded,
• strong zones = highlighted.
Creates a clean market heatmap effect.
Breakout Confirmation Modes
Choose how zones become invalidated:
• Candle Close breakout,
• Wick breakout.
Allows adaptation to different trading styles.
Alert System
Built-in alerts for:
• Support retests,
• Resistance retests,
• Support breaks,
• Resistance breaks.
Ideal for automated monitoring.
Recommended Markets
Optimized for:
• BTCUSDT
• ETHUSDT
• Forex pairs
• NASDAQ / SPX
• Gold
• High liquidity markets
Recommended Timeframes
Best performance on:
• 15m
• 1H
• 4H
• Daily
Suggested Settings
Crypto Scalping (5m–15m)
• Pivot Length: 5
• Confirmations for 100%: 8–10
• Minimum Retests: 1–2
Swing Trading (1H–4H)
• Pivot Length: 8–12
• Confirmations for 100%: 5–8
• Enable HTF zones
Notes
This indicator is designed to:
• reduce fake S/R zones,
• prioritize validated market structure,
• improve chart readability,
• provide institutional-style zone analysis.
No repainting after pivot confirmation.
Author Notes
The indicator focuses on realistic price interaction behavior rather than simplistic pivot plotting.
Supports:
• clean discretionary trading,
• confluence analysis,
• advanced price action workflows.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.