OPEN-SOURCE SCRIPT

Log Distance From MA + Ribbon

已更新
Taken inspiration from dkncrypto from his "Percentage Distance from MA" indicator.
Percentage Distance From Moving Average


I did a couple of very simple modifications.
I added exotic calculations so that it works properly in charts that reach the zero value (like the yield curve).
I also added a ribbon. It is now clearer when price is under resistance when compared to the deviation of it's trend.

The standard price ribbon describes support/resistance levels based on absolute vertical price distance.
The ribbon on the indicator I built describes support/resistance levels based around the trend of the price.

One could couple it with the KST-Based MACD indicator I built.
KST-Based MACD


In my future analyses, I will consider skipping the standard price ribbon and consult the Distance-From-MA ribbon.

Tread lightly, for this is hallowed ground.
-Father Grigori
版本注释
Added copyright.
Moving Averages

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明