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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.