This indicator extends the classic ADX with three practical upgrades that turn the raw 0-100 oscillator into instantly readable trend regimes and an event-driven alert engine: colored strength zones, DI crossover alerts, and ADX threshold breach alerts.
It is built on top of MT5's built-in iADX handle, with zone classification, multi-channel alert dispatch, and per-bar deduplication wrapped into a single drop-in package. All logic is documented in-line and the code has no external dependencies.
Features:
1. Colored Strength Zones. The indicator subwindow is shaded according to the current ADX level: gray when ADX is below the weak threshold (default 20, no trend), khaki between the two thresholds (developing trend), and pale green above the strong threshold (default 40, strong trend). Zone colors and thresholds are fully customisable from the inputs.
2. DI Crossover Alerts. Fires the moment +DI crosses above or below -DI on a closed bar. Direction (UP / DOWN), current ADX value, symbol and timeframe are included in the message.
3. ADX Threshold Breach Alerts. Four independent events are tracked: weak-level upside / downside breach and strong-level upside / downside breach. Each event is evaluated independently, so a bar that gaps through both levels (for example 19 to 41) still fires every event it crossed.
4. Visible Threshold Lines. The weak and strong levels are plotted as dotted reference lines on the indicator subwindow, so you can visually confirm where the next breach event will fire.
5. Independent alert channels. Popup, push, and email can each be toggled on or off. Per-bar deduplication ensures every event fires exactly once.
6. Tick-efficient redraw. The zone rectangles and alert checks run only when a new bar is detected, not on every tick, so the indicator stays light even on fast instruments.
7. Input safety. ADX period is clamped to a safe range if the user enters a non-positive or excessive value, so the indicator keeps running without manual recovery.
How to use:
1. Apply to any chart and timeframe.
2. Adjust ADX period (default 14), weak level (default 20) and strong level (default 40) to match the instrument's character.
3. Use the colored zones to filter strategy entries: skip range zones, enter inside developing or strong zones in the direction of the dominant DI line.
4. Enable popup, push, or email channels independently to receive only the events you act on.
5. Combine with structure or moving average filters of your choice. The indicator is intentionally self-contained and has no external dependencies.
Recommended on EURUSD H1 for trend regime filtering, but the indicator is symbol-agnostic and works on any instrument and timeframe.
