OPEN-SOURCE SCRIPT
6 EMA Setup

**6 EMA Setup** is a multi-moving-average indicator designed to help traders quickly read **trend direction, pullback zones, and long-term market structure** using six Exponential Moving Averages on a single chart.
The indicator comes with default EMA lengths of **9, 21, 34, 89, 200, and 500**, allowing traders to monitor both **short-term momentum** and **higher-timeframe trend alignment** in one view.
A key visual feature of this setup is that the **9 EMA and 21 EMA are displayed as solid lines**, making the fast trend and immediate momentum easy to follow, while the higher EMAs are displayed in a **dashed style** to separate broader trend structure from short-term action.
### Default EMA setup
* **EMA 9** – fast momentum
* **EMA 21** – short-term trend
* **EMA 34** – pullback/trend support zone
* **EMA 89** – medium-term structure
* **EMA 200** – major trend direction
* **EMA 500** – higher trend bias / macro structure
### Features
* 6 configurable EMA lines
* Default lengths: **9, 21, 34, 89, 200, 500**
* Individual **show/hide toggle** for each EMA
* Custom **color setting** for every EMA
* **Solid lines** for 9 and 21 EMA
* **Dashed style** for 34, 89, 200, and 500 EMA
* Adjustable **source**
* Adjustable **offset**
* Customizable dash/gap appearance for dashed EMAs
### How it helps
This indicator is useful for:
* Identifying **trend direction**
* Tracking **short-term momentum shifts**
* Spotting **pullback entries**
* Understanding **trend continuation zones**
* Filtering trades with **higher-timeframe EMA alignment**
* Visualizing whether price is trading above or below key dynamic support/resistance levels
### Common use case
Many traders use this type of EMA stack to check:
* whether **9 is above 21** for momentum strength
* whether price respects **34 or 89** during pullbacks
* whether market is above or below **200 EMA** for main trend bias
* whether the **500 EMA** supports the larger directional context
### Best for
* Trend-following traders
* Pullback traders
* Intraday traders
* Swing traders
* Multi-timeframe chart readers
If you want, I can also give you:
* a **short TradingView publish description**
* a **professional/public library description**
* a **simple beginner-friendly description**
* or a **combined description** for your **Donchian + EMA indicator**
The indicator comes with default EMA lengths of **9, 21, 34, 89, 200, and 500**, allowing traders to monitor both **short-term momentum** and **higher-timeframe trend alignment** in one view.
A key visual feature of this setup is that the **9 EMA and 21 EMA are displayed as solid lines**, making the fast trend and immediate momentum easy to follow, while the higher EMAs are displayed in a **dashed style** to separate broader trend structure from short-term action.
### Default EMA setup
* **EMA 9** – fast momentum
* **EMA 21** – short-term trend
* **EMA 34** – pullback/trend support zone
* **EMA 89** – medium-term structure
* **EMA 200** – major trend direction
* **EMA 500** – higher trend bias / macro structure
### Features
* 6 configurable EMA lines
* Default lengths: **9, 21, 34, 89, 200, 500**
* Individual **show/hide toggle** for each EMA
* Custom **color setting** for every EMA
* **Solid lines** for 9 and 21 EMA
* **Dashed style** for 34, 89, 200, and 500 EMA
* Adjustable **source**
* Adjustable **offset**
* Customizable dash/gap appearance for dashed EMAs
### How it helps
This indicator is useful for:
* Identifying **trend direction**
* Tracking **short-term momentum shifts**
* Spotting **pullback entries**
* Understanding **trend continuation zones**
* Filtering trades with **higher-timeframe EMA alignment**
* Visualizing whether price is trading above or below key dynamic support/resistance levels
### Common use case
Many traders use this type of EMA stack to check:
* whether **9 is above 21** for momentum strength
* whether price respects **34 or 89** during pullbacks
* whether market is above or below **200 EMA** for main trend bias
* whether the **500 EMA** supports the larger directional context
### Best for
* Trend-following traders
* Pullback traders
* Intraday traders
* Swing traders
* Multi-timeframe chart readers
If you want, I can also give you:
* a **short TradingView publish description**
* a **professional/public library description**
* a **simple beginner-friendly description**
* or a **combined description** for your **Donchian + EMA indicator**
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.