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

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?