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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.