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 open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?