PROTECTED SOURCE SCRIPT
Atualizado

Trend-based EMA Ribbon

3 341
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.
Log Distance From MA + Ribbon


Tread lightly, for this is hallowed ground.
-Father Grigori
Notas de Lançamento
Changes in default values.
Notas de Lançamento
Important code fixes.
Notas de Lançamento
More changes in code.
Notas de Lançamento
Added smoothing functionality.
Notas de Lançamento
Previous versions didn't create a ribbon for the initial data. Now this is fixed.
Notas de Lançamento
Added support to plot the baseline EMA.
Notas de Lançamento
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.
Notas de Lançamento
Upgrades in the "progressive" option.
snapshot
Notas de Lançamento
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.
Notas de Lançamento
More prettification updates.
I know I constantly update my scrips, oh well... deal with it.
Notas de Lançamento
INCREDIBLE new update. Significant changes in the invisible code.
Now it properly works with charts like the yield curve.
snapshot
Curiously, a significant reversal pattern is printed.
Notas de Lançamento
Oops I broke it. See you around...
Notas de Lançamento
Did some important debugging.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.