OPEN-SOURCE SCRIPT
RSI Candle Coloring

**RSI Candle Coloring**
Visualize momentum strength instantly — without glancing at a separate RSI panel.
This indicator dynamically recolors each candlestick based on the current RSI value, letting you read overbought and oversold conditions directly from the price chart. Both the RSI period and threshold levels are fully adjustable to fit your trading style.
---
**🎨 Color Zones**
🔴 RSI ≥ 70 — Overbought / Strong Bullish Momentum
🟠 RSI 60–69 — Bullish Bias / Approaching Overbought
⚪ RSI 41–59 — Neutral / Consolidation Zone
🔵 RSI 31–40 — Bearish Bias / Approaching Oversold
🟢 RSI ≤ 30 — Oversold / Strong Bearish Momentum
---
**⚙️ How It Works**
RSI is calculated using the standard closing price over a configurable lookback period (default: 14). Each candle is then replotted via plotcandle with a color mapped to its RSI reading. Wick and border colors remain neutral gray to keep the focus on momentum signals.
---
**🔧 Inputs**
• RSI Period — Lookback length for RSI calculation (default: 14)
• Overbought Level — Upper threshold for deep red coloring (default: 70)
• Oversold Level — Lower threshold for deep green coloring (default: 30)
---
**📌 Use Cases**
• Instantly identify overbought and oversold conditions on the price chart
• Spot momentum shifts and neutral consolidation zones at a glance
• Combine with support/resistance levels or moving averages for entry/exit confirmation
• Works as a cleaner alternative to a traditional RSI subplot
---
**📝 Notes**
• Works on any symbol and timeframe
• Candles are redrawn using plotcandle — disable your chart's default candles to avoid overlap (uncheck "Candles" in chart settings)
• The 60 and 40 intermediate thresholds are fixed by design to create a consistent 5-zone color gradient; only the overbought and oversold extremes are user-adjustable
Visualize momentum strength instantly — without glancing at a separate RSI panel.
This indicator dynamically recolors each candlestick based on the current RSI value, letting you read overbought and oversold conditions directly from the price chart. Both the RSI period and threshold levels are fully adjustable to fit your trading style.
---
**🎨 Color Zones**
🔴 RSI ≥ 70 — Overbought / Strong Bullish Momentum
🟠 RSI 60–69 — Bullish Bias / Approaching Overbought
⚪ RSI 41–59 — Neutral / Consolidation Zone
🔵 RSI 31–40 — Bearish Bias / Approaching Oversold
🟢 RSI ≤ 30 — Oversold / Strong Bearish Momentum
---
**⚙️ How It Works**
RSI is calculated using the standard closing price over a configurable lookback period (default: 14). Each candle is then replotted via plotcandle with a color mapped to its RSI reading. Wick and border colors remain neutral gray to keep the focus on momentum signals.
---
**🔧 Inputs**
• RSI Period — Lookback length for RSI calculation (default: 14)
• Overbought Level — Upper threshold for deep red coloring (default: 70)
• Oversold Level — Lower threshold for deep green coloring (default: 30)
---
**📌 Use Cases**
• Instantly identify overbought and oversold conditions on the price chart
• Spot momentum shifts and neutral consolidation zones at a glance
• Combine with support/resistance levels or moving averages for entry/exit confirmation
• Works as a cleaner alternative to a traditional RSI subplot
---
**📝 Notes**
• Works on any symbol and timeframe
• Candles are redrawn using plotcandle — disable your chart's default candles to avoid overlap (uncheck "Candles" in chart settings)
• The 60 and 40 intermediate thresholds are fixed by design to create a consistent 5-zone color gradient; only the overbought and oversold extremes are user-adjustable
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.