kingthies

RSI Divergence (Pine v4)

kingthies Actualizado   
Summary
Script highlights the divergences in RSI worth taking notice of. By comparing current envionment to relative sample we can see more than
the standard divergences that many catch through analysis. This framework aims to remove the bias or noise many see when looking for any supporting
evidence to their given emotion on a market.

Step-by-Step Walkthrough
  • Calculates RSI
  • Sets Divergence Framework
  • -------> a. Defining variable values, mandatory in Pine 4)
  • -------> b. Identify Divergences --> "If bar with lowest / highest is current bar, use it's value"
  • Compare high of current bar being examined with previous bar's high --> "If curr bar high is higher than the max bar high in the lookback window range"
  • Finds pivot point with at least 2 right candles with lower value
  • Finds pivot point with at least 2 right candles with lower value
  • Plot
  • Set Alerts

This RSI Script is intended for public use and can be shared / implemented as needed
Questions? I do not monitor my TradingView inbox. See email address in signature at the bottom of this page for contact information.
Notas de prensa:
Complete Upgrade - Logic restructured and implemented.
Notas de prensa:
upgraded to pine v5
Notas de prensa:
Added Alert Parameters
Notas de prensa:
Updating to include the same functionality that the built-in Tradingview RSI Indicator has standard, with SMA/EMA/BBand 'switch' function has recently added + cleaned up some of the syntax to be in alignment with the Pinecoders recommendations.

If the former versions are preferred, simply copy the old pinescript and add as your own indicator.

Cheers,

ET
Notas de prensa:
May 11, 2023
  • Terminology updated
  • Removal of deprecated 'transp=' color function
  • User Menu Reformatted

Eric Thies
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?