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.



Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?