OPEN-SOURCE SCRIPT
Updated Log Distance From MA + Ribbon

Taken inspiration from dkncrypto from his "Percentage Distance from MA" indicator.

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.

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

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.

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
Release Notes
Added copyright.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.