yatrader2

Divergence Indicator (any oscillator)

A modification of the TV builtin "Divergence indicator" (Version 10) that can be applied to any indicator, and can be plotted on price as well.

Usage:
Add your favorite oscillator, RSI , Klinger , TSI, CMF , or anything else to a chart.
Click the little ... (More) on the oscillator.
Then add this indicator "Divergence Indicator (any oscillator)" on your oscillator of choice.
Click the settings on this indicator and make sure the source is set to the right plot from your oscillator.
Watch for it to plot divergences...

Add this indicator a second time on the price chart (and select the same oscillator plot), but check the box "plot on price (rather than on indicator)""
See you divergence plotted on price (as well as on the oscillator)
Notas de Lançamento: Fixed bug in the plots on price. Thanks to @sal157011 for the bug report.
Notas de Lançamento: Added an option to delay plot until candles are closed (ie no repainting). If you select this option divergences in real time will match historical ones, but plots will be delayed until candle close.
By request of @cyatophilum @AbhijeetMuneshwar
Remover dos scripts favoritos Adicionar aos scripts favoritos

Comentários

This looks great
I’ve not added any new indicators before.
How do I add this ?
Sorry for what might be a simple question.
+25 Resposta
yatrader2 Mattcharles
@Mattcharles, Click the fx icon to add an indicator, then follow the instructions at the top of this page.
Resposta
This publication is now featured in our Editors' Picks. In the name of all TradingView traders, thank you for your valuable contribution to the TradingView community, and congrats!
+7 Resposta
yatrader2 PineCoders
@PineCoders, Thanks, glad you like it.
+3 Resposta
Damnnn
+3 Resposta
Thank you so much yatrader2 for this script. It's very helpful.
+3 Resposta
Hey! Thanks for sharing that...
Would just like to confirm (not complaining lol), does the indicator plot the divergences a few candles after it actually happened sometimes or is it always when the "last candle" that is part of the divergence is closed?
Thanks
+3 Resposta
yatrader2 rafaelblanco14
@rafaelblanco14, Yes in order to detect a divergence you need a pivot (a local high or low) so it always lags.
Resposta
this looks so pretty not only with built-in oscillators but also with custom ones, i have tried with mine fear and greed study and result is amazing.

+2 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Amigos indicados Moedas Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar