PROTECTED SOURCE SCRIPT
SnR Key Level Detector by RWBTradeLab

SnR Key Level Detector by RWBTradeLab
A clean, non-repainting key level detector built for price action traders who want clear, fixed Support/Resistance reference levels with breakout upgrades and alerts.
What this indicator does
This script automatically detects and draws 6 types of SnR key levels using CLOSED candles only (no running-candle logic):
1. Base Key Levels (from 2-candle sequences)
* A Level: Green → Red (Level = 1st Green candle Close)
* V Level: Red → Green (Level = 1st Red candle Close)
* Bullish Gap Level: Green → Green (Level = 1st Green candle Close)
* Bearish Gap Level: Red → Red (Level = 1st Red candle Close)
2. Breakout Upgrade Levels
* RBS (Resistance → Support): When a Green candle CLOSE breaks above an A Level or Bearish Gap Level
* SBR (Support → Resistance): When a Red candle CLOSE breaks below a V Level or Bullish Gap Level
Visuals on chart
* Each detected level is drawn as a horizontal Ray extended to the right.
* Optional text labels are placed above/below the level based on the level type.
* Adjustable “Label Offset (ticks)” to keep labels cleaner on the chart.
Alerts (bar-close only)
Built-in alerts trigger only when a candle is CONFIRMED:
* A Level
* V Level
* Bullish Gap
* Bearish Gap
* SBR
* RBS
Each alert includes price and time in the message.
Key settings
* Candle Length (closed candles): Scans last N closed candles (running candle excluded).
* On/Off toggles: Enable/disable each level type and text labels individually.
* Label Offset (ticks): Controls the label distance from the level line.
Non-repainting confirmation
All levels and alerts are calculated on confirmed bars only.
No repainting, no running-bar signals.
Best use
Works on any market and timeframe. For higher reliability, combine with:
* Higher timeframe structure
* Supply & Demand zones
* Trend context and liquidity sweeps
Disclaimer:
This indicator is a level-detection tool, not financial advice. Trading involves risk; always use proper risk management and confirm levels with your own analysis.
Creator: RWBTradeLab
If you find this useful, please leave a like ⭐ and share your feedback.
A clean, non-repainting key level detector built for price action traders who want clear, fixed Support/Resistance reference levels with breakout upgrades and alerts.
What this indicator does
This script automatically detects and draws 6 types of SnR key levels using CLOSED candles only (no running-candle logic):
1. Base Key Levels (from 2-candle sequences)
* A Level: Green → Red (Level = 1st Green candle Close)
* V Level: Red → Green (Level = 1st Red candle Close)
* Bullish Gap Level: Green → Green (Level = 1st Green candle Close)
* Bearish Gap Level: Red → Red (Level = 1st Red candle Close)
2. Breakout Upgrade Levels
* RBS (Resistance → Support): When a Green candle CLOSE breaks above an A Level or Bearish Gap Level
* SBR (Support → Resistance): When a Red candle CLOSE breaks below a V Level or Bullish Gap Level
Visuals on chart
* Each detected level is drawn as a horizontal Ray extended to the right.
* Optional text labels are placed above/below the level based on the level type.
* Adjustable “Label Offset (ticks)” to keep labels cleaner on the chart.
Alerts (bar-close only)
Built-in alerts trigger only when a candle is CONFIRMED:
* A Level
* V Level
* Bullish Gap
* Bearish Gap
* SBR
* RBS
Each alert includes price and time in the message.
Key settings
* Candle Length (closed candles): Scans last N closed candles (running candle excluded).
* On/Off toggles: Enable/disable each level type and text labels individually.
* Label Offset (ticks): Controls the label distance from the level line.
Non-repainting confirmation
All levels and alerts are calculated on confirmed bars only.
No repainting, no running-bar signals.
Best use
Works on any market and timeframe. For higher reliability, combine with:
* Higher timeframe structure
* Supply & Demand zones
* Trend context and liquidity sweeps
Disclaimer:
This indicator is a level-detection tool, not financial advice. Trading involves risk; always use proper risk management and confirm levels with your own analysis.
Creator: RWBTradeLab
If you find this useful, please leave a like ⭐ and share your feedback.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。