OPEN-SOURCE SCRIPT
Dual Moving Average Exponential

Overview
This script is a clean, optimized extension of TradingView's official, built-in Moving Average Exponential (EMA) indicator. Instead of cluttering your chart by loading multiple single indicators, this script allows you to plot two independent EMAs simultaneously within a single indicator slot, saving you valuable layout space.
It retains the full functionality of the original script, including the advanced Moving Average Smoothing and Bollinger Band features, applying them directly to the primary EMA.
Key Features
Dual EMA Plotting: Set independent lengths, sources, and offsets for two separate exponential moving averages (e.g., a fast EMA and a slow EMA for trend crossovers).
UI Customization: Color pickers have been added directly to the inputs menu, allowing you to change the line colors on the fly without entering the script settings style tab or editing the code.
Organized Input Groups: Settings are cleanly separated into "EMA 1", "EMA 2", and "Smoothing" sections for easy navigation.
Original Smoothing Matrix: Includes the native script's ability to smooth EMA 1 using SMA, EMA, SMMA, WMA, VWMA, or to generate EMA-based Bollinger Bands.
How to Use
Trend Identification: Use a fast EMA (e.g., 9 or 21) alongside a slow EMA (e.g., 50 or 200) to quickly identify trend direction and potential crossover signals.
Support & Resistance: Utilize the dual lines to identify dynamic support and resistance zones (the "space" between the two EMAs) rather than relying on a single price point.
Advanced Filtering: Turn on the "Smoothing" options in the settings menu to apply secondary filters or Bollinger Bands to your primary EMA for volatility and momentum analysis.
This script is a clean, optimized extension of TradingView's official, built-in Moving Average Exponential (EMA) indicator. Instead of cluttering your chart by loading multiple single indicators, this script allows you to plot two independent EMAs simultaneously within a single indicator slot, saving you valuable layout space.
It retains the full functionality of the original script, including the advanced Moving Average Smoothing and Bollinger Band features, applying them directly to the primary EMA.
Key Features
Dual EMA Plotting: Set independent lengths, sources, and offsets for two separate exponential moving averages (e.g., a fast EMA and a slow EMA for trend crossovers).
UI Customization: Color pickers have been added directly to the inputs menu, allowing you to change the line colors on the fly without entering the script settings style tab or editing the code.
Organized Input Groups: Settings are cleanly separated into "EMA 1", "EMA 2", and "Smoothing" sections for easy navigation.
Original Smoothing Matrix: Includes the native script's ability to smooth EMA 1 using SMA, EMA, SMMA, WMA, VWMA, or to generate EMA-based Bollinger Bands.
How to Use
Trend Identification: Use a fast EMA (e.g., 9 or 21) alongside a slow EMA (e.g., 50 or 200) to quickly identify trend direction and potential crossover signals.
Support & Resistance: Utilize the dual lines to identify dynamic support and resistance zones (the "space" between the two EMAs) rather than relying on a single price point.
Advanced Filtering: Turn on the "Smoothing" options in the settings menu to apply secondary filters or Bollinger Bands to your primary EMA for volatility and momentum analysis.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.