OPEN-SOURCE SCRIPT
MG - Real time RSI divergence

Shows RSI divergences in real time (as soon as bar closes in divergence instead of waiting for an RSI pivot).
There are alerts included on these events so you are immediately made aware of divergence.
Adjustement:
There are alerts included on these events so you are immediately made aware of divergence.
Adjustement:
- It works by detecting a break of a previous high or low and then comparing the RSI value at the last break to the current break. Therefore, by decreasing the adjacent candles required for a pivot, you increase the number of divergence checks and therefore divergence readings. As with many indicators, with higher the values, you get less but more significant signals. (This can be visualized with the plot pivot lines option)
- RSI period can be adjusted
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
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.