OPEN-SOURCE SCRIPT

Advanced RSI with Volatility Bands [RedWhite]

Cập nhật
English - Introduction
This indicator uses a standard RSI of 14 periods, however, instead of using static lines of 70 and 30 to identify overbought and oversold zones, a moving average band is added, similar to the Bollinger Bands indicator.

Español - Introducción
Este indicador utiliza un RSI estándar de 14 períodos, sin embargo, en lugar de utilizar líneas estáticas de 70 y 30 para identificar las zonas de sobrecompra y sobreventa, se agrega una banda de medias móviles similar al indicador de las Bandas de Bollinger.

English - Calculation
The moving average band is constructed by calculating a moving average (default of 70 periods) on the standard RSI of 14 periods. From this average, volatility bands are applied, drawing an upper and lower band by using a standard deviation (default of 1).

Español - Cálculo
La banda de medias móviles se construye calculando una media móvil (por defecto de 70 períodos) sobre el RSI estándar de 14 períodos. A partir de esta media, se aplican bandas de volatilidad, dibujando así una banda superior e inferior mediante el uso de una desviación estándar (por defecto de 1).

English - Interpretation
When the RSI surpasses the upper band, the chart's background is shaded by default (green) to signal a possible overbought situation. On the other hand, when the RSI surpasses the lower band, the chart's background is shaded by default (red) to signal a possible oversold situation. The indicator can be customized in terms of period length, moving average values, and standard deviations. In addition, background colors can be adjusted according to the user's preferences.

Español - Interpretación
Cuando el RSI supera la banda superior, el fondo del gráfico se sombra de un color por defecto (verde) para señalar una posible situación de sobrecompra. Por otro lado, cuando el RSI supera la banda inferior, el fondo del gráfico se sombrea de un color por defecto (rojo) para señalar una posible situación de sobreventa. El indicador se puede personalizar en cuanto a la longitud de los períodos, los valores de la media móvil y las desviaciones estándar. Además, los colores del fondo se pueden ajustar según las preferencias del usuario.

English - Conclusion
By incorporating moving average bands, the indicator can provide more precise signals that are adjusted to changing market conditions. Additionally, the function of coloring the background can help traders visualize overbought and oversold zones clearly and make informed decisions accordingly. It is important to note that this indicator is not infallible and should be used in conjunction with other indicators and market analysis to make informed trading decisions.

Español - Conclusión
Al incorporar bandas de medias móviles, el indicador puede proporcionar señales más precisas ajustadas a las condiciones cambiantes del mercado. Además, la función de colorear el fondo puede ayudar a los traders a visualizar claramente las zonas de sobrecompra y sobreventa y tomar decisiones informadas en consecuencia. Es importante tener en cuenta que este indicador no es infalible y debe ser utilizado junto con otros indicadores y análisis del mercado para tomar decisiones de trading informadas.

English: For comparison purposes, the standard 14-period RSI is presented above, and below it, the standard 14-period RSI with volatility bands is shown.
Español: Con fines comparativos, se presenta el RSI estándar de 14 períodos arriba, y debajo se muestra el RSI estándar de 14 períodos con bandas de volatilidad.


  • English: RSI of 14 periods with a band of moving averages of 70 periods and a standard deviation with a value of 1
  • Español: RSI de 14 periodos con una banda de medias móviles de 70 periodos y una desviación estándar con un valor de 1

ảnh chụp nhanh

  • English: RSI of 14 periods with a band of moving averages of 70 periods and a standard deviation with a value of 0
  • Español: RSI de 14 periodos con una banda de medias móviles de 70 periodos y una desviación estándar con un valor de 0

ảnh chụp nhanh

English - Note
This indicator is inspired by Blai5's "Advanced RSI".

Español- Nota
Este indicador está inspirado en el "RSI Avanzado" de Blai5.
Phát hành các Ghi chú
  • Code line: Line 117 is modified (previously it was located between lines 101 and 102, however, it did not correspond to that sequence).
  • Variable names: Lines 84 and 85 are modified.
  • Moving average option: The "HEMA" option is removed from the moving averages options (the mathematical calculation is still being analyzed to interpret it in Pine code).
  • Spelling: Text in uppercase and lowercase.
  • Minor changes in the internal code documentation.
Bands and ChannelsMoving AveragesOscillators

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm