OPEN-SOURCE SCRIPT
RSI Games 1.2

he "RSI Games 1.2" indicator enhances the standard RSI by adding several layers of analysis:
Standard RSI Calculation: It calculates the RSI based on a configurable length (default 14 periods) and a user-selected source (default close price).
RSI Bands: It plots horizontal lines at 70 (red, overbought), 50 (yellow, neutral), and 30 (green, oversold) to easily identify extreme RSI levels.
RSI Smoothing with Moving Averages (MAs) and Bollinger Bands (BBs):
You can apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to smooth the RSI line.
If you choose "SMA + Bollinger Bands," the indicator will also plot Bollinger Bands around the smoothed RSI, providing dynamic overbought/oversold levels based on volatility.
The RSI line itself changes color based on whether it's above (green) or below (red) its smoothing MA.
It also fills the area between the RSI and its smoothing MA, coloring it green when RSI is above and red when below.
Bollinger Band Signals: When Bollinger Bands are enabled, the indicator marks "Buy" signals (green arrow up) when the RSI crosses above the lower Bollinger Band and "Sell" signals (red arrow down) when it crosses below the upper Bollinger Band.
Background Coloring: The background of the indicator pane changes to light green when RSI is below 30 (oversold) and light red when RSI is above 70 (overbought), visually highlighting extreme conditions.
Divergence Detection: This is a key feature. The indicator automatically identifies and labels:
Regular Bullish Divergence: Price makes a lower low, but RSI makes a higher low. This often signals a potential reversal to the upside.
Regular Bearish Divergence: Price makes a higher high, but RSI makes a lower high. This often signals a potential reversal to the downside.
Hidden Bullish Divergence: Price makes a higher low, but RSI makes a lower low. This can indicate a continuation of an uptrend.
Hidden Bearish Divergence: Price makes a lower high, but RSI makes a higher high. This can indicate a continuation of a downtrend.
Divergences are visually marked with labels and can trigger alerts.
Standard RSI Calculation: It calculates the RSI based on a configurable length (default 14 periods) and a user-selected source (default close price).
RSI Bands: It plots horizontal lines at 70 (red, overbought), 50 (yellow, neutral), and 30 (green, oversold) to easily identify extreme RSI levels.
RSI Smoothing with Moving Averages (MAs) and Bollinger Bands (BBs):
You can apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to smooth the RSI line.
If you choose "SMA + Bollinger Bands," the indicator will also plot Bollinger Bands around the smoothed RSI, providing dynamic overbought/oversold levels based on volatility.
The RSI line itself changes color based on whether it's above (green) or below (red) its smoothing MA.
It also fills the area between the RSI and its smoothing MA, coloring it green when RSI is above and red when below.
Bollinger Band Signals: When Bollinger Bands are enabled, the indicator marks "Buy" signals (green arrow up) when the RSI crosses above the lower Bollinger Band and "Sell" signals (red arrow down) when it crosses below the upper Bollinger Band.
Background Coloring: The background of the indicator pane changes to light green when RSI is below 30 (oversold) and light red when RSI is above 70 (overbought), visually highlighting extreme conditions.
Divergence Detection: This is a key feature. The indicator automatically identifies and labels:
Regular Bullish Divergence: Price makes a lower low, but RSI makes a higher low. This often signals a potential reversal to the upside.
Regular Bearish Divergence: Price makes a higher high, but RSI makes a lower high. This often signals a potential reversal to the downside.
Hidden Bullish Divergence: Price makes a higher low, but RSI makes a lower low. This can indicate a continuation of an uptrend.
Hidden Bearish Divergence: Price makes a lower high, but RSI makes a higher high. This can indicate a continuation of a downtrend.
Divergences are visually marked with labels and can trigger alerts.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.