OPEN-SOURCE SCRIPT
更新済 Multi Moving Averages (EMA / SMA Toggle) Configurable

Multi Moving Averages (EMA / SMA Toggle) is a lightweight and highly configurable indicator designed to plot up to three moving averages on your chart with a clean and minimalist input panel.
The indicator allows you to switch seamlessly between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) using a single toggle, while preserving the same lengths, sources, and visual settings. Each moving average can be independently shown or hidden and fully customized for color, line width, and plot style.
This tool is ideal for traders who rely on multiple moving averages for trend identification, dynamic support and resistance, pullback analysis, and crossover-based strategies, while keeping their charts uncluttered and easy to read.
Key Features
Plot up to three moving averages
Global EMA / SMA toggle
Individual show / hide control for each MA
Customizable length, source, color, width, and style
Minimalist input layout with low scrolling
Fully compatible with the Style panel
Whether you prefer fast-reacting EMAs or smoother SMAs, this indicator adapts instantly to your workflow without requiring multiple indicators or duplicate settings.
The indicator allows you to switch seamlessly between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) using a single toggle, while preserving the same lengths, sources, and visual settings. Each moving average can be independently shown or hidden and fully customized for color, line width, and plot style.
This tool is ideal for traders who rely on multiple moving averages for trend identification, dynamic support and resistance, pullback analysis, and crossover-based strategies, while keeping their charts uncluttered and easy to read.
Key Features
Plot up to three moving averages
Global EMA / SMA toggle
Individual show / hide control for each MA
Customizable length, source, color, width, and style
Minimalist input layout with low scrolling
Fully compatible with the Style panel
Whether you prefer fast-reacting EMAs or smoother SMAs, this indicator adapts instantly to your workflow without requiring multiple indicators or duplicate settings.
リリースノート
✨ Major UI & Usability ImprovementsRemoved all global EMA/SMA controls and simplified logic to per-MA EMA/SMA selection only.
Consolidated each MA’s settings into a single inline row:
Enable / Disable
Length
Source
EMA or SMA selection
Color selection
Eliminated confusing checkboxes and replaced them with clear dropdowns.
-------------
📊 Table Enhancements
Added a compact on-chart MA summary table displaying:
Color swatch (matches MA color)
MA length
MA type (EMA or SMA)
Table layout refined to minimize screen and input-panel clutter:
Line 1: SHOW TABLE toggle
Line 2: Table Position and Text Size
Line 3: Table Background, Text, and Border colors
Default table styling updated to white background with black text and borders.
Implemented full hide behavior:
When disabled, table content and outer border fully disappear.
When re-enabled, table and border restore correctly without artifacts.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。