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.



Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?