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**
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.