EvoCrypto

Distance Oscillator - evo

This shows the distance to a moving average of your choice as histogram, you can select your moving average at input "Oscillator Source".
You need to have a plot on your chart (like EMA or anything else) so you can connect this indicator to it. I used Ichimoku Cloud's 20 period Conversion line (blue line) as example on the chart.

You can look for divergence on the histogram, that works because most moving averages follow price, they do not lead price. Which means if the distance gets smaller but the trend still continues, it may be a loss of momentum and often a sign for a reversal or pause.

I applied a moving average of the histogram, you can use this to wait for a cross to confirm divergence or can be useful to smooth signals a bit.
Of course you have to play around with it a little and see what works best for you, I have not tested all settings and timeframes.



Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?