OPEN-SOURCE SCRIPT
Güncellendi 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.
Sürüm Notları
✨ 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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.