ADX and DI mt4

### ADX and DI v1.00

Faithful MQL4/MQL5 port of BeikabuOyaji's "ADX and DI" indicator from TradingView, one of the most widely used ADX implementations on the platform with over 43,000 users. It displays +DI, −DI, and ADX in a single subwindow, using a hybrid smoothing approach — Wilder's method for the Directional Indexes and a simple moving average for the ADX line.

#### How it works

The indicator implements Welles Wilder's Directional Movement System with one notable variation in the final ADX calculation:

- **True Range, +DM, −DM** are calculated per Wilder's original definitions with mutual exclusivity between directional movements
- **Smoothing of TR, +DM, −DM** uses Wilder's running sum method: S(i) = S(i−1) − S(i−1)/N + value
- **+DI and −DI** are derived as the ratio of smoothed directional movement to smoothed True Range, expressed as percentages
- **DX** measures the normalized difference between +DI and −DI
- **ADX** is computed as a **simple moving average (SMA)** of DX over the selected period — not Wilder's SMMA as in the classical formulation

This SMA-based ADX responds faster to trend changes than the traditional Wilder/SMMA version, crossing threshold levels earlier in both directions.

#### Visual features

- **Green line**: +DI (bullish directional strength)
- **Red line**: −DI (bearish directional strength)
- **Navy line** (thicker): ADX (trend strength regardless of direction)
- **Horizontal level**: configurable threshold reference line (default 20)

#### Parameters

| Parameter | Default | Description |
|-----------|---------|-------------|
| Period | 14 | Smoothing period for Wilder's calculation and SMA window for ADX |
| Threshold | 20 | Horizontal reference level drawn on the indicator panel |

#### Key characteristics

- Produces values that differ from MetaTrader's built-in iADX (EMA-based) and iADXWilder (SMMA-based) due to the hybrid SMA approach
- Does not repaint: all values are fixed once the bar closes
- Available for both MetaTrader 4 and MetaTrader 5
- Works on all symbols and timeframes; best suited for H1, H4, and Daily charts
- Initialization starts from zero (replicating Pine Script's nz() behavior); values converge fully after approximately 100–150 bars

#### Original source

[ADX and DI]() by BeikabuOyaji — published February 16, 2015, updated to Pine Script v4 on January 28, 2021. Licensed under Mozilla Public License 2.0.


Plus de l'auteur
SuperTrend for MT5
Ulises Calderon Bautista
4.83 (6)
L'indicateur populaire "SuperTrend" est un outil d'analyse technique qui aide à identifier la direction d'une tendance et les points d'entrée ou de sortie potentiels sur les marchés financiers. L'indicateur est basé sur la Moyenne de la Vraie Portée (ATR), qui mesure la volatilité du marché en fonction des gammes de prix. Il est gratuit sur d'autres plateformes et il n'y a aucune raison pour qu'il ne le soit pas ici aussi ! Il est couramment utilisé de trois manières : Pour identifier la tendanc
FREE
UTBot Alerts
Ulises Calderon Bautista
UT Bot Alerts — ATR Trailing Stop System Faithful MQL5 & MQL4 conversion of the legendary "UT Bot Alerts" indicator by QuantNomad from TradingView. Originally developed by Yo_adriiiiaan with the core idea by HPotter, and refined into Pine Script v4 with alerts by QuantNomad (Vadim Cissa) — one of the most followed quant developers on TradingView with over 100K followers. The original script has accumulated 1.1 million+ views and 35,500+ favorites on TradingView, making it one of the most popular
FREE
Double or Triple EMA Envelope
Ulises Calderon Bautista
5 (1)
L'indicateur des enveloppes des moyennes mobiles exponentielles (double ou triple) est un outil d'analyse technique conçu pour vous aider à identifier les tendances et les points potentiels de retournement sur les marchés financiers. Cet indicateur offre aux traders la flexibilité de choisir entre deux types de moyennes mobiles exponentielles : la moyenne mobile exponentielle double (DEMA) ou la moyenne mobile exponentielle triple (TEMA). Principales caractéristiques : - Double ou triple expon
FREE
L'indicateur "Envelope of Adaptive Moving Average" est un outil conçu pour vous aider à prendre des décisions éclairées sur le marché financier. Il a été développé pour vous offrir une vue claire de la direction de la tendance et des points d'entrée et de sortie potentiels dans vos transactions. Cet indicateur repose sur une moyenne mobile adaptative, ce qui signifie qu'il s'ajuste automatiquement aux variations de la volatilité du marché. Cela le rend particulièrement utile sur des marchés à l
FREE
SuperTrend for MT4
Ulises Calderon Bautista
The popular "SuperTrend" indicator is a technical analysis tool designed to help identify trend direction and potential entry or exit points in financial markets. This indicator is built upon the Average True Range (ATR) , which gauges market volatility based on price ranges. It is available for free on other platforms, and this should be no exception! Common Use Cases The SuperTrend is typically utilized in three primary ways: Trend Identification: When the price is trading above the indicator
FREE
UT Bot Alerts for MT4
Ulises Calderon Bautista
UT Bot Alerts — ATR Trailing Stop System Faithful MQL5 & MQL4 conversion of the legendary "UT Bot Alerts" indicator by QuantNomad from TradingView. Originally developed by Yo_adriiiiaan with the core idea by HPotter, and refined into Pine Script v4 with alerts by QuantNomad (Vadim Cissa) — one of the most followed quant developers on TradingView with over 100K followers. The original script has accumulated 1.1 million+ views and 35,500+ favorites on TradingView, making it one of the most popular
FREE
BollingerRSI Strategy MT4
Ulises Calderon Bautista
### Bollinger + RSI, Double Strategy v1.1 Faithful MQL4/MQL5 port of ChartArt's popular TradingView strategy (41,800+ users, 990+ favorites). Generates buy and sell signals only when **both indicators confirm simultaneously** — RSI momentum shift + Bollinger Band breakout on the same candle. **How it works** The strategy uses an unconventional configuration: a fast RSI(6) with its crossover level set at 50 (acting as a momentum direction filter, not an overbought/oversold detector), combined
FREE
BollingerRSI Strategy
Ulises Calderon Bautista
### Bollinger + RSI, Double Strategy v1.1 Faithful MQL4/MQL5 port of ChartArt's popular TradingView strategy (41,800+ users, 990+ favorites). Generates buy and sell signals only when **both indicators confirm simultaneously** — RSI momentum shift + Bollinger Band breakout on the same candle. **How it works** The strategy uses an unconventional configuration: a fast RSI(6) with its crossover level set at 50 (acting as a momentum direction filter, not an overbought/oversold detector), combined
FREE
ADX and DI mt5
Ulises Calderon Bautista
### ADX and DI v1.00 Faithful MQL4/MQL5 port of BeikabuOyaji's "ADX and DI" indicator from TradingView, one of the most widely used ADX implementations on the platform with over 43,000 users. It displays +DI, −DI, and ADX in a single subwindow, using a hybrid smoothing approach — Wilder's method for the Directional Indexes and a simple moving average for the ADX line. #### How it works The indicator implements Welles Wilder's Directional Movement System with one notable variation in the fina
FREE
Filtrer:
Aucun avis
Répondre à l'avis