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.


Altri dall’autore
SuperTrend for MT5
Ulises Calderon Bautista
4.83 (6)
Il popolare indicatore "SuperTrend" è uno strumento di analisi tecnica che aiuta a identificare la direzione di un trend e i possibili punti di ingresso o uscita nei mercati finanziari. L'indicatore si basa sulla Media dell'Intervallo Effettivo (ATR), che misura la volatilità del mercato in base agli intervalli di prezzo. È gratuito su altre piattaforme e qui non c'è motivo per cui non dovrebbe esserlo! Viene comunemente utilizzato in tre modi: Per identificare il trend attuale: quando il prezzo
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'indicatore delle Envelopes delle Medie Mobili Esponenziali (doppie o triple) è uno strumento di analisi tecnica progettato per aiutarti a identificare le tendenze e i potenziali punti di inversione nel mercato finanziario. Questo indicatore offre ai trader la flessibilità di scegliere tra due tipi di medie mobili esponenziali: la Media Mobile Esponenziale Doppia (DEMA) o la Media Mobile Esponenziale Tripla (TEMA). Caratteristiche principali: - Doppie o Triple Medie Mobili Esponenziali: Passa
FREE
L'indicatore "Envelope of Adaptive Moving Average" è uno strumento progettato per aiutarti a prendere decisioni informate nel mercato finanziario. È stato sviluppato per fornirti una chiara visione della direzione del trend e dei potenziali punti di ingresso e uscita nelle tue operazioni. Questo indicatore si basa su una media mobile adattativa, il che significa che si adatta automaticamente alle variazioni della volatilità di mercato. Ciò lo rende particolarmente utile in mercati che possono e
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
Filtro:
Nessuna recensione
Rispondi alla recensione