OPEN-SOURCE SCRIPT
Updated Multi_MA

Description:
Multi MA plots four moving averages on a single chart, letting you monitor short-, mid-, and long-term trends at a glance.
Features
Four moving averages with fully customizable lengths (defaults: 7, 21, 60, 120).
Selectable MA type applied to all four lines: SMA, EMA, RMA, WMA, or VWMA. Switch types instantly from a single dropdown.
Adjustable line width for each average, so you can emphasize the ones that matter most to you.
Cross marker that highlights every crossover between the third and fourth averages (default 60 and 120) — a common signal for shifts in the longer-term trend.
How to use
The fast lines (7, 21) track momentum and short-term direction, while the slower lines (60, 120) define the broader trend. When the 60 crosses the 120, a "Cross" label marks the event, helping you spot potential trend transitions. Adjust the lengths and MA type to fit your instrument and timeframe.
Works on any symbol and timeframe. Overlays directly on price.
Multi MA plots four moving averages on a single chart, letting you monitor short-, mid-, and long-term trends at a glance.
Features
Four moving averages with fully customizable lengths (defaults: 7, 21, 60, 120).
Selectable MA type applied to all four lines: SMA, EMA, RMA, WMA, or VWMA. Switch types instantly from a single dropdown.
Adjustable line width for each average, so you can emphasize the ones that matter most to you.
Cross marker that highlights every crossover between the third and fourth averages (default 60 and 120) — a common signal for shifts in the longer-term trend.
How to use
The fast lines (7, 21) track momentum and short-term direction, while the slower lines (60, 120) define the broader trend. When the 60 crosses the 120, a "Cross" label marks the event, helping you spot potential trend transitions. Adjust the lengths and MA type to fit your instrument and timeframe.
Works on any symbol and timeframe. Overlays directly on price.
Release Notes
Update: Directional cross signals + alertsPreviously the indicator marked every crossover between the 60 and 120 moving averages with a single label, without distinguishing direction. This update splits that into two clearer signals:
Golden Cross — when the 60 MA crosses above the 120 MA (potential bullish trend shift), marked with a green "GC" label below the bar.
Dead Cross — when the 60 MA crosses below the 120 MA (potential bearish trend shift), marked with a red "DC" label above the bar.
Also added alert conditions for both events, letting you configure TradingView notifications straight from the indicator settings.
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.