OPEN-SOURCE SCRIPT
Moving Average Ribbon AZly

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.
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.
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.