OPEN-SOURCE SCRIPT
Nested SMA Fib Wave

A multi-timeframe-style moving average ribbon made of 8 Simple Moving Averages (SMAs) whose lengths follow consecutive Fibonacci numbers, each scaled by a user-chosen base length.You pick a starting Fibonacci number (e.g. 5, 8, 13, 21, 34…) via dropdown
The script takes the next 7 Fibonacci numbers in sequence
Each is multiplied by your base length → produces 8 progressively longer SMAs
Plots them as a colorful “wave” ribbon + optional zone shading between pairs
Includes bar-coloring modes based on distance from a chosen reference MA (gradient strength, simple above/below, etc.)
Example (base = 10, start Fib = 13):
Lengths → 130, 210, 340, 550, 890, 1 440, 2 330, 3 770Primary Use CasesTrend Strength & Multi-Timeframe Context Wider ribbon = strong trend / high volatility
Narrow / converging ribbon = consolidation / potential reversal
Price riding the upper/lower edge = strong directional momentum
Dynamic Support/Resistance Zones The shaded areas between MAs act as natural support/resistance layers
Price reactions at different Fib-based levels often highlight key zones
Trend-Following Entries & Exits Pullbacks to a middle MA (e.g. MA4 or MA5) in a trending ribbon → higher-probability entries
Ribbon inversion / major expansion → potential trend-change signal
Filtering Noise on Lower Timeframes Use a higher base length (or later-starting Fib) to create very smooth, longer-term context
Combine with shorter base/start for tactical entries on the same chart
Visual “Market Regime” Identification Tight, flat, overlapping MAs → ranging/choppy market
Strongly fanned-out ribbon → trending market (bullish or bearish depending on slope)
In short: It’s a visually intuitive way to see trend persistence, strength, and hierarchy of support/resistance using Fibonacci-proportioned smoothing periods instead of arbitrary or power-of-2 steps.
The script takes the next 7 Fibonacci numbers in sequence
Each is multiplied by your base length → produces 8 progressively longer SMAs
Plots them as a colorful “wave” ribbon + optional zone shading between pairs
Includes bar-coloring modes based on distance from a chosen reference MA (gradient strength, simple above/below, etc.)
Example (base = 10, start Fib = 13):
Lengths → 130, 210, 340, 550, 890, 1 440, 2 330, 3 770Primary Use CasesTrend Strength & Multi-Timeframe Context Wider ribbon = strong trend / high volatility
Narrow / converging ribbon = consolidation / potential reversal
Price riding the upper/lower edge = strong directional momentum
Dynamic Support/Resistance Zones The shaded areas between MAs act as natural support/resistance layers
Price reactions at different Fib-based levels often highlight key zones
Trend-Following Entries & Exits Pullbacks to a middle MA (e.g. MA4 or MA5) in a trending ribbon → higher-probability entries
Ribbon inversion / major expansion → potential trend-change signal
Filtering Noise on Lower Timeframes Use a higher base length (or later-starting Fib) to create very smooth, longer-term context
Combine with shorter base/start for tactical entries on the same chart
Visual “Market Regime” Identification Tight, flat, overlapping MAs → ranging/choppy market
Strongly fanned-out ribbon → trending market (bullish or bearish depending on slope)
In short: It’s a visually intuitive way to see trend persistence, strength, and hierarchy of support/resistance using Fibonacci-proportioned smoothing periods instead of arbitrary or power-of-2 steps.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.