OPEN-SOURCE SCRIPT

Moving Average Ribbon AZly

25
The Moving Average Ribbon AZly is a customizable indicator that plots six moving averages and highlights their interactions with colored fills. It gives traders a layered view of trend strength, direction, and momentum across multiple timeframes, making it easier to spot trend continuations or reversals.

Moving Average Function

The script includes a helper function ma() that allows each moving average to be calculated using different methods:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
SMMA/RMA (Smoothed Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
HMA (Hull Moving Average – approximated using SMA in this script)

Default Setup

MA #1: EMA 10 (blue)
MA #2: EMA 20 (orange)
MA #3: EMA 75 (yellow)
MA #4: EMA 150 (transparent red)
MA #5: EMA 200 (black)
MA #6: EMA 250 (transparent red)

This default configuration covers short-, medium-, and long-term averages, giving a full market structure overview.

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.