akikostas

Trend-based EMA Ribbon

akikostas Uppdaterad   
An innovative EMA Ribbon proves a mighty candidate to the standard EMA Ribbons we commonly use.

The standard EMA defines support/resistance levels based on the horizontal axis. With this indicator, the trend itself is taken into account. This EMA Ribbon is based around the trend. It provides a whole new way to understand/predict support/resistance levels.

It is a cousin to this indicator I built.

Tread lightly, for this is hallowed ground.
-Father Grigori
Versionsinformation:
Changes in default values.
Versionsinformation:
Important code fixes.
Versionsinformation:
More changes in code.
Versionsinformation:
Added smoothing functionality.
Versionsinformation:
Previous versions didn't create a ribbon for the initial data. Now this is fixed.
Versionsinformation:
Added support to plot the baseline EMA.
Versionsinformation:
Added functionality to change between a SMA trend and an EMA one.

When the (progressive) option is selected in the trend, the MA is progressively generated from the very first value.
Classic N-length MAs (not progressive) ignore the first N-1 bars and continue from the Nth one.

Do note that for now, you may only choose as input the main data source. There is some functionality that needs to be fixed for you to use this indicator on top of other indicators.
Versionsinformation:
Upgrades in the "progressive" option.
Versionsinformation:
Added a background for a cleaner look. You can always activate the ordinary ribbon lines.
The "Classic Ribbon Edge" serves as a point of reference as to where the classic ribbon would end.
Versionsinformation:
More prettification updates.
I know I constantly update my scrips, oh well... deal with it.
Versionsinformation:
INCREDIBLE new update. Significant changes in the invisible code.
Now it properly works with charts like the yield curve.
Curiously, a significant reversal pattern is printed.
Versionsinformation:
Oops I broke it. See you around...
Versionsinformation:
Did some important debugging.
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?