Libertus

Relative Strength Index - Divergences - Libertus

Libertus Actualizado   
Hello all,

To ease everyone's trading experience I made this script which colors RSI overbought and oversold conditions and as a bonus displays bullish or bearish divergences in last 50 candles (by default, you can change it).
Script is open source, part of code is from Trading View examples. If you have suggestions or you already made some improvements, please report in comment.

Happy trading and good luck!
Notas de prensa:
New version 2.0 of script. Most of logic is updated and upgraded.
Now divergences are shown for whole history.

Be warned that I increased lookback period to 90 bars by default. This is good for time frames up to 4H, even 4H in on the edge here.
Higher time frames then 4H probably need lower lookback period.

Please report any problems you encounter.
Notas de prensa:
TD bugged out when publishing, repeating update.
Notas de prensa:
Minor update: Added ability to set alerts per user request.
Notas de prensa:
Update:
  • ability to remove pivots
  • ability to display smaller/shorter labels
Notas de prensa:
What new:
  • adapted script to new pine language version (v4)
  • removed 8 n/a value that were cluttering indicator interface next to RSI value (only possible with v4 pine language)
  • added option to have colored indicator background instead of BULL/BEAR labels

If you don't want separate indicator for RSI divergences, you can use my RSI Divergences - Candle edition:

If you want OBV divergences script, check out:
Notas de prensa:
Small fix: Pivots didn't hide if you checked both "Hide pivot" and "Color background".
Notas de prensa:
Per popular demand, added alerts to pivot high and low.
Some code cosmetics.
Notas de prensa:
Added mid line with value 50 separating bullish and bearish momentum.
Changed colors for bullish and bearish momentum parts.
If you want to change colors or any value, you can do it in script settings (style part).

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?