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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.