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