OPEN-SOURCE SCRIPT
Moving Average Ribbon AZly

Moving Average Ribbon AZly
The Moving Average Ribbon AZly is a flexible trend-following indicator that visualizes market direction, strength, and transition phases using multiple customizable moving averages. It helps traders instantly identify when short-, medium-, and long-term trends align or diverge.
🔧 How it works
Up to six moving averages can be plotted, each with its own:
Type (SMA, EMA, SMMA, WMA, VWMA, or HMA)
Length, color, and width
Custom source input
The script also adds adaptive color fills between key pairs:
MA1–MA2: short-term momentum
MA4–MA5: mid-term bias
MA5–MA6: long-term trend
Bullish alignment paints green or blue ribbons, while bearish alignment turns them red or pink. The wider the ribbon, the stronger the trend separation.
💡 Why it’s better
Unlike typical ribbon indicators, this version offers full per-line customization, adaptive color fills, and a clean, high-contrast design that makes trend shifts instantly recognizable. It’s optimized for clarity, flexibility, and smooth performance on any market or timeframe.
🎯 Trading ideas
Trend confirmation: Trade only in the direction of the ribbon (green for long, red for short).
Early reversals: Watch for the fastest MAs (MA1–MA2) crossing the mid-term pair (MA4–MA5) as early signals of a trend shift.
Momentum compression: When the ribbon narrows or colors alternate rapidly, it signals consolidation or potential breakout zones.
Pullback entries: Enter trades when price bounces off the outer ribbon layer in the direction of the dominant trend.
Multi-timeframe use: Combine with a higher timeframe ribbon to confirm overall market bias.
📊 Recommended use
Works on all markets and timeframes. Ideal for trend-following, swing trading, and visual confirmation of price structure.
The Moving Average Ribbon AZly is a flexible trend-following indicator that visualizes market direction, strength, and transition phases using multiple customizable moving averages. It helps traders instantly identify when short-, medium-, and long-term trends align or diverge.
🔧 How it works
Up to six moving averages can be plotted, each with its own:
Type (SMA, EMA, SMMA, WMA, VWMA, or HMA)
Length, color, and width
Custom source input
The script also adds adaptive color fills between key pairs:
MA1–MA2: short-term momentum
MA4–MA5: mid-term bias
MA5–MA6: long-term trend
Bullish alignment paints green or blue ribbons, while bearish alignment turns them red or pink. The wider the ribbon, the stronger the trend separation.
💡 Why it’s better
Unlike typical ribbon indicators, this version offers full per-line customization, adaptive color fills, and a clean, high-contrast design that makes trend shifts instantly recognizable. It’s optimized for clarity, flexibility, and smooth performance on any market or timeframe.
🎯 Trading ideas
Trend confirmation: Trade only in the direction of the ribbon (green for long, red for short).
Early reversals: Watch for the fastest MAs (MA1–MA2) crossing the mid-term pair (MA4–MA5) as early signals of a trend shift.
Momentum compression: When the ribbon narrows or colors alternate rapidly, it signals consolidation or potential breakout zones.
Pullback entries: Enter trades when price bounces off the outer ribbon layer in the direction of the dominant trend.
Multi-timeframe use: Combine with a higher timeframe ribbon to confirm overall market bias.
📊 Recommended use
Works on all markets and timeframes. Ideal for trend-following, swing trading, and visual confirmation of price structure.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.