OPEN-SOURCE SCRIPT
Updated

6 SMA Lines (Compact)

68
Description:
This indicator displays up to six Simple Moving Averages (SMA) on the same chart to save indicator slots.
Each SMA period can be customized independently.
Ideal for traders who want to monitor multiple timeframes in a clean, compact way.

Features:
• Up to 6 SMA lines
• Adjustable periods
• Custom colors for each line
• Lightweight and efficient
Release Notes
English / 日本語

This script displays up to six Simple Moving Averages (SMA) on the main chart.
Each SMA period can be customized individually.
It’s optimized for real-time updating and compact display.
Ideal for traders who want to view multiple moving averages without using many indicator slots.

このスクリプトは、最大6本の単純移動平均線(SMA)をメインチャート上に表示します。
各SMAの期間は個別に設定でき、リアルタイム更新と軽量表示に最適化されています。
複数の移動平均線を効率よく確認したいトレーダー向けです。
Release Notes
English / 日本語

Updated the default colors and SMA periods for clarity.
Each line now has a distinct color:
5MA = Red, 10MA = Blue, 20MA = Yellow, 50MA = Green, 100MA = Purple, 200MA = Black.
Simple, lightweight, and easy to read for quick trend analysis.

6本の単純移動平均線(SMA)の色とデフォルト設定をわかりやすく更新しました。
それぞれの線が識別しやすい色で表示されます。
5MA=赤、10MA=青、20MA=黄、50MA=緑、100MA=紫、200MA=黒。
シンプルで軽く、トレンド把握に最適な構成です。

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.