OPEN-SOURCE SCRIPT

RSI Difference (Fast and Slow)

Introduction

Oscillators like the RSI are fundamental tools for identifying trends in financial markets. Their ability to measure price momentum allows traders to detect overbought, oversold levels, and divergences, anticipating trend changes. Are there ways to improve the use of traditional RSI? How can we obtain more detailed information about current trends? This indicator answers these questions by expanding the functionalities of the traditional RSI and offering an additional tool for analysis.

How does it work?

This indicator provides a framework for trend analysis based on the following setup:

  • Fast RSI
  • Slow RSI
  • SMA of the fast RSI
  • SMA of the slow RSI
    [\*]Histogram


Custom Indicator Settings

My preferred configuration is based on the 13 and 55 moving averages. The rest of the setup is as follows:

I typically use the 13 and 55 moving averages to configure both the RSI and short- and long-term moving averages.

Interpretation and Signals: Including a Long-Period RSI

Including a long-period RSI helps identify key patterns in market behavior. Crossovers between the two can be used to establish entry patterns:

  • If the fast RSI crosses above the slow RSI, this could indicate a long-entry pattern.
  • If the fast RSI crosses below the slow RSI, this could indicate a short-entry pattern.


Interpretation and Signals: Including Moving Averages

Including moving averages for both the short- and long-period RSI can help identify the base trend of the movement and, consequently:

  • Avoid false signals.
  • Trade in favor of the trend.


A simple way to start working with these is to use the crossover of the moving averages to identify the current trend:

  • If the short-period SMA is above the long-period SMA, the trend is bullish.
  • If the short-period SMA is below the long-period SMA, the trend is bearish.


Interpretation and Signals: The Histogram

The histogram represents the difference between the moving averages. If the histogram is positive, the short average is above the long average. If the histogram is below zero, the short average is below the long average. Divergences with price provide signals of potential exhaustion in the movement, indicating a possible reversal.

Indicator Details

This indicator builds upon the traditional RSI by integrating additional features that enhance its utility for traders. Here’s how each component is calculated and how they contribute to the originality of the script:

  • Fast RSI and Slow RSI: The fast RSI is calculated using a shorter lookback period, allowing it to capture rapid changes in momentum. The slow RSI uses a longer period to smooth out fluctuations and provide a broader view of the trend. These two RSIs work together to identify significant momentum shifts.

  • SMA of RSI values: The simple moving averages (SMA) of the fast and slow RSI help filter out noise and provide clear crossover signals. The SMAs are calculated using standard formulas but applied to the RSI values rather than price data, which adds a layer of insight into momentum trends.

  • Histogram calculation: The histogram represents the difference between the SMA of the fast RSI and the SMA of the slow RSI. This value gives a visual representation of the convergence or divergence of momentum. When the histogram crosses zero, it signifies a potential shift in the underlying trend.


This indicator combines multiple layers of analysis: fast and slow momentum, trend confirmation through SMAs, and divergence detection via the histogram. This multi-dimensional approach provides traders with a more comprehensive tool for trend analysis and decision-making.

Conclusion

This article has explored how to use this indicator to identify trends, leverage entry patterns, and analyze divergences by combining the fast RSI, slow RSI, their moving averages, and a histogram. Additionally, I’ve detailed how I usually interpret this indicator:
  • Identifying RSI patterns to anticipate momentum changes.
  • Using SMAs to confirm base trends.
  • Leveraging the histogram to detect divergences and potential price reversals.


Oscillators

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Мои профили:

Отказ от ответственности