ATRFibonacciTrend

  • Индикаторы
  • Semih Erten
    Semih Erten
    TRMentorFx — Otomatikleştirilmiş Forex Çözümleri
    2021 yılından bu yana forex piyasalarında aktif olarak çalışmaktayım. Bu süreçte edindiğim bilgi ve deneyimi, tamamen kendi geliştirdiğim strateji modellerine dönüştürdüm.
  • Версия: 1.30
  • Активации: 5
⚠️ **This document and indicator do not constitute investment advice. Past performance is no guarantee of future results.**

1. Product Introduction

**ATR Fibonacci Trend Envelopes** combines three proven concepts into a single tool:

* **Volatility-sensitive trend engine** — Dynamic bands that expand and contract with the ATR around a selectable moving average baseline (SMA/EMA/WMA/HMA/RMA). If the price breaks above the upper band on a candle close, a **BULL** regime begins; if it breaks below the lower band, a **BEAR** regime begins. Since the bandwidth adapts to volatility, false signals in sideways markets are filtered out.
* **Dynamic Golden Pocket (0.618–0.786)** — Instead of the classic fixed Fibonacci, levels are recalculated on every bar based on the ATR envelope. Plotted in light blue during an uptrend and orange during a downtrend, this pocket serves as a "high-value entry zone" in the direction of the trend.
* **Multi-Timeframe (MTF) Dashboard** — Monitors 4 timeframes simultaneously (default: 5m/15m/1H/4H): displaying the trend direction (BULL/BEAR) and whether the price is inside the pocket (INSIDE/OUT) for each TF.

**Additionally:** Projection lines extending 50 bars into the future based on the slope of the last 4 bars (labeled 1.0 / 0.786 / 0.618 / 0.5), a circle marker + entry price label at trend reversals, and a trend change alert on closed bars.

Color Language (v1.30)

| Element | Uptrend | Downtrend |
| --- | --- | --- |
| Baseline (1.0) | Cyan/Blue | Red |
| Golden Pocket Fill | Light Blue | Orange |
| 0.618 / 0.786 Lines | Light Blue | Orange |
| 0.5 Line | Gray | Gray |
| Dashboard "INSIDE" Cell | Light Blue | Orange |

---

2. Installation

1. Copy the `ATR_Fibonacci_Trend_.mq5` file into the `MQL5\Indicators\` folder (MT5 → File → Open Data Folder).
2. Open it in MetaEditor and compile by pressing **F7** (0 errors / 0 warnings).
3. Open Navigator (**Ctrl+N**) → Indicators → drag and drop it onto the chart.
4. Upon initial loading, it may take a few seconds for the MTF dashboard to populate (cells will display "..." while data for other TFs is being downloaded to the terminal — this is normal).
5. **Recommended starting point:** EURUSD H1, default settings. Users who wish to follow the video strategy exactly can select `MA Type = WMA`.

---

3. Input Settings — Full Reference

 Calculation Settings

| Input | Default | Description |
| --- | --- | --- |
| **MA Type** | RMA | Baseline moving average type. RMA/EMA provide smoother lines, while WMA/HMA react faster. |
| **MA Length** | 100 | Period of the trend baseline. Decreasing it speeds up signals but increases noise. |
| **ATR Length** | 100 | Volatility measurement period. |
| **ATR Multiplier** | 3.0 | Bandwidth. Increasing it = fewer but more reliable signals. |

Projection Settings

| Input | Default | Description |
| --- | --- | --- |
| **Show Projections** | true | Future dotted level lines + 1.0/0.786/0.618/0.5 labels. |
| **Projection Length** | 50 | Number of bars to project forward. |

Color & Visual Settings

| Input | Default | Description |
| --- | --- | --- |
| **Uptrend / Downtrend Color** | blue / red | Baseline and signal colors. |
| **0.5 Fib Color** | gray | Middle level color. |
| **Pocket Color (Downtrend)** | orange | Downtrend pocket color. |
| **Pocket Color (Uptrend)** | light blue | Uptrend pocket color. |
| **Show Golden Pocket Fill** | true | Toggle pocket shading/fill on/off. |
| **Show 0.5 Line** | true | Toggle the gray middle line on/off. |
| **Fill Projected Pocket** | true | Triangle fill of the projection zone (turn off for a cleaner screen). |

Dashboard Settings

| Input | Default | Description |
| --- | --- | --- |
| **Show MTF Dashboard** | true | Toggle dashboard on/off. |
| **Location / Font Size** | Bottom Right / 8 | Position and size. |
| **Timeframe 1–4** | M5, M15, H1, H4 | Timeframes to monitor. |
| **MTF History Bars** | 1500 | Warm-up bar count for the MTF engine. 1500 is ideal for a 100-period MA/ATR; do not decrease it. |

Extras

| Input | Default | Description |
| --- | --- | --- |
| **Alert On Trend Change** | true | MT5 alert on a closed bar when the trend reverses. |
| **Max Signal Price Labels** | 500 | Maximum number of historical signal labels to display on the chart. |

---

4. Strategy Logic — Step-by-Step

4.1 BUY (Long) Scenario

* **Regime:** The price breaks above the upper band on a candle close → a blue circle + price label are printed, the baseline shifts **BELOW** the price and turns blue. The pocket turns light blue.
* **Confirmation:** At least 2–3 timeframes on the dashboard must be "**BULL**"; especially the timeframe one level above your trading TF (e.g., if trading on H1 → H4 must be BULL).
* **Entry:** Two options:
* *Aggressive:* Direct entry on the close of the reversal bar.
* *Patient (Recommended):* Wait for the price to pull back to the light blue pocket (0.618–0.786). Enter from within the pocket when the dashboard shows "**INSIDE**" for that specific TF.


* **Stop-loss:** A few pips below the baseline (1.0). **Rule:** If a candle close occurs below 1.0, the position is abandoned — make your decision based on the candle close, not the wick.
* **Take Profit:** The first target is the momentum remaining above the 0.5 line; if the trend is strong, trail the position by following the projection lines. An opposite-direction circle marker indicates the final exit.

4.2 SELL (Short) Scenario

* This is the exact mirror image of the buy rules: the price breaks below the lower band → red circle appears, the baseline shifts **ABOVE** the price, and the pocket turns orange. Enter short on a pullback to the orange pocket; stop-loss is a candle close above 1.0.

4.3 Trade Management

* The middle of the pocket (the midpoint between 0.618 and 0.786) is the highest-value entry point.
* If the price passes through the pocket and approaches 1.0, reduce your position size — the risk of a trend reversal has increased.
* When the bands narrow (the distance between the pocket and 0.5 decreases), a volatility breakout is imminent; the first signals after a reversal are the strongest.

---

5. Tips & Tricks

* **Trade in the direction of the trend:** The pocket is **NOT** a counter-trend reversal tool; it is a trend-continuation pattern tool. Do not look for longs in the orange pocket or shorts in the light blue pocket.
* **TF Alignment:** H1 signal + H4 in the same direction = statistically the most robust combination. If all 4 TFs are aligned in the same direction, the trend may be mature — avoid late entries.
* **Do not chase:** If the pocket is far away immediately after the reversal bar (as seen in the video example), do not chase the market; either wait for a pullback or move on to the next signal.
* **Period Selection:** H1 and higher timeframes yield the cleanest results. If you intend to use it on M5, increase the `ATR Multiplier` to 3.5–4.0.
* **Parameter Harmony:** Change `MA Length` and `ATR Length` together (e.g., 50/50, 100/100, 200/200). Shortening one while leaving the other long disrupts the band geometry.
* **News Events:** During high-impact news minutes (NFP, interest rate decisions), bands expand sharply; signals should be evaluated on the subsequent candle close, not during that specific volatile bar.

---

6. Important Considerations

* Trend-following systems lose money in sideways/ranging markets. Do not trade if the bands are flat and the dashboard is mixed (e.g., 2 BULL / 2 BEAR).
* Signals lock in only at the bar close; during an active bar, the price can cross the band and return. This is why the alert function only notifies you of closed bars.
* Other TF data must be fully downloaded in the terminal for the MTF dashboard to function; seeing "..." for a few seconds on a new setup is completely normal.
* The indicator alone is not a money management system: position sizing, daily loss limits, and risk/reward ratios are entirely your responsibility. Risking no more than 1–2% per trade is common professional practice.
* Visual testing can be performed in the Strategy Tester; however, the indicator itself does not open trades. An Expert Advisor (EA) is required for automated backtesting (included in the package, currently on hold).

---

7. FAQ (Frequently Asked Questions)

**Does the indicator repaint?**

No. The trend state is calculated using closed bar data; historical signals never change. Only the values of the developing (current) bar fluctuate until the bar closes — this applies to all real-time indicators.

**Which instruments does it work on?**

Forex, indices, commodities, crypto, stocks — since it is ATR-based, it automatically scales itself to any volatility regime.

**Does the panel affect performance?**

No. In version v1.20+, the MTF calculation was moved to a timer and cached per TF; calculations are only executed when a new bar forms on the relevant TF.

**Why is the orange/blue cloud sometimes disconnected?**

A gap is intentionally left on the trend reversal bar (matching the original visual design) — this is a feature, not a bug.
Другие продукты этого автора
# AUTO TREND LINE ASSISTANT v2.0 ### MQL5 Market — Ürün Açıklaması / Çalışma Mantığı / Kullanım Talimatları --- ## ÜRÜN AÇIKLAMASI (MQL5 Market Listing) **Auto Trend Line Assistant v2.0**, piyasanın anlık yönünü otomatik olarak analiz eden ve kurallara dayalı şekilde yalnızca doğru trend çizgisini çizen akıllı bir MetaTrader 5 göstergesidir. > **Tek cümleyle:** Yükselen piyasada sadece eğik destek, düşen piyasada sadece eğik direnç — fazlası yok, eksiği yok. Klasik trend çizgisi araçlar
Фильтр:
Нет отзывов
Ответ на отзыв