OPEN-SOURCE SCRIPT

Multi-Period SMA - flack0x

38
A comprehensive moving average indicator featuring 7 fully customizable SMA periods designed for multi-timeframe trend analysis. Perfect for traders who want to visualize multiple moving average periods simultaneously without cluttering their charts with separate indicators.Key Features:

7 Independent SMAs with default periods: 2, 3, 9, 27, 81, 243, 2187
Individual Customization - Each SMA has its own period, color, line width, and visibility controls
Smart Defaults - Shorter SMAs use thinner lines, longer SMAs use thicker lines for visual hierarchy
Overlay Design - Properly overlays on price data without Y-axis attachment issues
Alert System - Built-in crossover alerts for key SMA levels (9 and 27 period)

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.