OPEN-SOURCE SCRIPT
Dual EMA (9 & 16) Customizable

📈 Dual EMA Indicator (Customizable & Preset Based)
The Dual EMA Indicator is a simple yet powerful trend-following tool that plots two Exponential Moving Averages (EMAs) on the price chart. It is designed for scalpers, intraday traders, and swing traders who rely on EMA crossovers and trend direction for decision-making.
This indicator allows full customization of both EMAs, including length, color, source, line width, and offset. Users can also enable or disable each EMA individually, keeping the chart clean and focused.
To make trading faster and easier, built-in preset EMA combinations such as 5–9, 9–21, and 16–34 are provided, which are commonly used for scalping and trend trading. A Custom mode is also available for traders who prefer their own EMA settings.
🔑 Key Features
Two EMAs in a single indicator
Preset EMA pairs for scalping and intraday trading
Fully customizable EMA lengths and sources
Change colors, line width, and offset
Enable/disable each EMA with a checkbox
Clean and lightweight with no lag
📊 How to Use
Fast EMA above Slow EMA → Bullish trend
Fast EMA below Slow EMA → Bearish trend
EMA crossovers can be used for entry and exit confirmation
Works well on 1m, 3m, 5m, 15m, and higher timeframes
This indicator is ideal for traders who want a simple, flexible, and reliable EMA setup without cluttering their charts.
The Dual EMA Indicator is a simple yet powerful trend-following tool that plots two Exponential Moving Averages (EMAs) on the price chart. It is designed for scalpers, intraday traders, and swing traders who rely on EMA crossovers and trend direction for decision-making.
This indicator allows full customization of both EMAs, including length, color, source, line width, and offset. Users can also enable or disable each EMA individually, keeping the chart clean and focused.
To make trading faster and easier, built-in preset EMA combinations such as 5–9, 9–21, and 16–34 are provided, which are commonly used for scalping and trend trading. A Custom mode is also available for traders who prefer their own EMA settings.
🔑 Key Features
Two EMAs in a single indicator
Preset EMA pairs for scalping and intraday trading
Fully customizable EMA lengths and sources
Change colors, line width, and offset
Enable/disable each EMA with a checkbox
Clean and lightweight with no lag
📊 How to Use
Fast EMA above Slow EMA → Bullish trend
Fast EMA below Slow EMA → Bearish trend
EMA crossovers can be used for entry and exit confirmation
Works well on 1m, 3m, 5m, 15m, and higher timeframes
This indicator is ideal for traders who want a simple, flexible, and reliable EMA setup without cluttering their charts.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.