OPEN-SOURCE SCRIPT
RSI on Candle

[EN/JP]
Title: RSI on Candle — Dynamic RSI Bands with Divergence Detection
Description: RSI on Candle transforms the traditional RSI oscillator into dynamic price-level bands displayed directly on your chart. Instead of reading RSI values from a separate panel, you see three key RSI levels (30, 50, 70) projected onto price action as adaptive support/resistance zones.
Key Features:
Dynamic Price Projection: RSI levels are scaled into price-space using ATR volatility, creating bands that move naturally with the market
Trend Bias at a Glance: Price above RSI 50 = Bullish; Below = Bearish. The 50 line acts as a dynamic trend filter
Classic Extremes: RSI 30 (oversold/support) and RSI 70 (overbought/resistance) levels for mean-reversion and momentum entries
Automatic Divergence Detection: Visual alerts for Bullish (Price LL + RSI HL) and Bearish (Price HH + RSI LH) divergences with clear diamond markers
Smart Alerts: Built-in alerts for RSI 50 center line touches and divergence formations
Zero Clutter: Clean overlay design with transparent lines — no eye movement required between price and oscillator
How to Use:
Trend Following: Enter long when price holds above RSI 50; short when below
Mean Reversion: Look for bounces at RSI 30 (long) or rejections at RSI 70 (short)
Exit Signals: Divergence lines warn of potential trend exhaustion — consider taking profits when they appear
Settings: Adjustable RSI period, custom overbought/oversold levels, and divergence lookback sensitivity.
タイトル: RSI on Candle — ダイバージェンス検出付き動的RSIバンド
説明: RSI on Candle は、従来のRSIオシレーターを価格チャート上に直接投影するインジケーターです。別パネルで数値を確認する必要なく、RSI 30・50・70の3つの重要レベルが、価格に連動した動的なサポート/レジスタンスゾーンとして表示されます。
主な機能:
動的価格投影: ATRボラティリティを使用してRSI値を価格スケールに変換。市場の動きに自然に追随するバンドを形成
一目でわかるトレンド判断: RSI 50ライン上が強気、下が弱気。動的なトレンドフィルターとして機能
極値レベル: RSI 30(買われすぎ/サポート)とRSI 70(売られすぎ/レジスタンス)で、平均回帰・モメンタムエントリーを捕捉
自動ダイバージェンス検出: 価格とRSIの乖離を自動検出。強気ダイバ(価格安値更新+RSI上昇)と弱気ダイバ(価格高値更新+RSI下降)をダイヤマーカーで明確表示
スマートアラート: RSI 50センターラインタッチとダイバージェンス形成のアラートを標準搭載
ゼロ・クラッター: 透明ラインによるクリーンなオーバーレイ設計。価格とオシレーターを行き来する必要なし
使い方:
トレンドフォロー: RSI 50上での価格維持でロング、下でショート
平均回帰: RSI 30での反発(ロング候補)やRSI 70での拒否(ショート候補)を探す
利確シグナル: ダイバージェンスラインはトレンド疲労の警告。出現時は早期利確を検討
設定: RSI期間、買われすぎ/売られすぎレベル、ダイバージェンスのルックバック感度をカスタマイズ可能
Title: RSI on Candle — Dynamic RSI Bands with Divergence Detection
Description: RSI on Candle transforms the traditional RSI oscillator into dynamic price-level bands displayed directly on your chart. Instead of reading RSI values from a separate panel, you see three key RSI levels (30, 50, 70) projected onto price action as adaptive support/resistance zones.
Key Features:
Dynamic Price Projection: RSI levels are scaled into price-space using ATR volatility, creating bands that move naturally with the market
Trend Bias at a Glance: Price above RSI 50 = Bullish; Below = Bearish. The 50 line acts as a dynamic trend filter
Classic Extremes: RSI 30 (oversold/support) and RSI 70 (overbought/resistance) levels for mean-reversion and momentum entries
Automatic Divergence Detection: Visual alerts for Bullish (Price LL + RSI HL) and Bearish (Price HH + RSI LH) divergences with clear diamond markers
Smart Alerts: Built-in alerts for RSI 50 center line touches and divergence formations
Zero Clutter: Clean overlay design with transparent lines — no eye movement required between price and oscillator
How to Use:
Trend Following: Enter long when price holds above RSI 50; short when below
Mean Reversion: Look for bounces at RSI 30 (long) or rejections at RSI 70 (short)
Exit Signals: Divergence lines warn of potential trend exhaustion — consider taking profits when they appear
Settings: Adjustable RSI period, custom overbought/oversold levels, and divergence lookback sensitivity.
タイトル: RSI on Candle — ダイバージェンス検出付き動的RSIバンド
説明: RSI on Candle は、従来のRSIオシレーターを価格チャート上に直接投影するインジケーターです。別パネルで数値を確認する必要なく、RSI 30・50・70の3つの重要レベルが、価格に連動した動的なサポート/レジスタンスゾーンとして表示されます。
主な機能:
動的価格投影: ATRボラティリティを使用してRSI値を価格スケールに変換。市場の動きに自然に追随するバンドを形成
一目でわかるトレンド判断: RSI 50ライン上が強気、下が弱気。動的なトレンドフィルターとして機能
極値レベル: RSI 30(買われすぎ/サポート)とRSI 70(売られすぎ/レジスタンス)で、平均回帰・モメンタムエントリーを捕捉
自動ダイバージェンス検出: 価格とRSIの乖離を自動検出。強気ダイバ(価格安値更新+RSI上昇)と弱気ダイバ(価格高値更新+RSI下降)をダイヤマーカーで明確表示
スマートアラート: RSI 50センターラインタッチとダイバージェンス形成のアラートを標準搭載
ゼロ・クラッター: 透明ラインによるクリーンなオーバーレイ設計。価格とオシレーターを行き来する必要なし
使い方:
トレンドフォロー: RSI 50上での価格維持でロング、下でショート
平均回帰: RSI 30での反発(ロング候補)やRSI 70での拒否(ショート候補)を探す
利確シグナル: ダイバージェンスラインはトレンド疲労の警告。出現時は早期利確を検討
設定: RSI期間、買われすぎ/売られすぎレベル、ダイバージェンスのルックバック感度をカスタマイズ可能
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.