OPEN-SOURCE SCRIPT
Moving Average Ribbon (10x, per-MA timeframe)

A flexible moving‑average ribbon that plots up to 10 MAs, each with its own type, length, source, color, and independent timeframe selector for true multi‑timeframe analysis without repainting on higher‑timeframe pulls.
What it does
Plots ten moving averages with selectable types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
Allows per‑line timeframe inputs (e.g., 5, 15, 60, 1D, 1W) so you can overlay higher‑ or equal‑timeframe MAs on the current chart.
Uses a non‑repainting request pattern for higher‑timeframe series to keep lines stable in realtime.
How to use
Leave a TF field blank to keep that MA on the chart’s timeframe; type a timeframe (like 15 or 1D) to fetch it from another timeframe.
Typical trend‑following setup: fast MAs (10–21) on chart TF, mid/slow MAs (34–200) from higher TFs for bias and dynamic support/resistance.
Color‑code faster vs slower lines and optionally hide lines you don’t need to reduce clutter.
Best practices
Prefer pulling equal or higher timeframes for stability; mixing lower TFs into a higher‑TF chart can create choppy visuals.
Combine with price action and volume/volatility tools (e.g., RSI, Bollinger Bands) for confirmation rather than standalone signals.
Showcase example charts in your publish post and explain default settings so users know how to interpret the ribbon.
Inputs
Show/Hide per MA, Type (SMA/EMA/SMMA/WMA/VWMA), Source, Length, Color, Timeframe.
Defaults cover common lengths (10/20/50/100/200 etc.) and can be customized to fit intraday or swing styles.
Limitations
This is an analysis overlay, not a signal generator; it doesn’t place trades or alerts by default.
Effectiveness depends on instrument liquidity and user configuration; avoid overfitting to one market or regime.
Attribution and etiquette
Provide a brief explanation of your calculation choices and note that MA formulas are standard; credit any borrowed concepts or snippets if used.
What it does
Plots ten moving averages with selectable types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
Allows per‑line timeframe inputs (e.g., 5, 15, 60, 1D, 1W) so you can overlay higher‑ or equal‑timeframe MAs on the current chart.
Uses a non‑repainting request pattern for higher‑timeframe series to keep lines stable in realtime.
How to use
Leave a TF field blank to keep that MA on the chart’s timeframe; type a timeframe (like 15 or 1D) to fetch it from another timeframe.
Typical trend‑following setup: fast MAs (10–21) on chart TF, mid/slow MAs (34–200) from higher TFs for bias and dynamic support/resistance.
Color‑code faster vs slower lines and optionally hide lines you don’t need to reduce clutter.
Best practices
Prefer pulling equal or higher timeframes for stability; mixing lower TFs into a higher‑TF chart can create choppy visuals.
Combine with price action and volume/volatility tools (e.g., RSI, Bollinger Bands) for confirmation rather than standalone signals.
Showcase example charts in your publish post and explain default settings so users know how to interpret the ribbon.
Inputs
Show/Hide per MA, Type (SMA/EMA/SMMA/WMA/VWMA), Source, Length, Color, Timeframe.
Defaults cover common lengths (10/20/50/100/200 etc.) and can be customized to fit intraday or swing styles.
Limitations
This is an analysis overlay, not a signal generator; it doesn’t place trades or alerts by default.
Effectiveness depends on instrument liquidity and user configuration; avoid overfitting to one market or regime.
Attribution and etiquette
Provide a brief explanation of your calculation choices and note that MA formulas are standard; credit any borrowed concepts or snippets if used.
Skrypt open-source
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.
Wyłączenie odpowiedzialności
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.
Skrypt open-source
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.
Wyłączenie odpowiedzialności
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.