PulseHub
OPEN-SOURCE SCRIPT

Jurik Dynamic Movement Index Approximation

409
🚀 JURIK DYNAMIC MOVEMENT INDEX APPROXIMATION (DMX)

The Jurik Dynamic Movement Index Approximation (DMX), engineered by gunebak4n, is an advanced, ultra-smooth, bipolar directional movement indicator framework designed for PulseWire. Built upon the legendary signal-processing principles conceptualized by Mark Jurik (Jurik Research), this open-source implementation transforms the classical Welles Wilder Directional Movement Index (DMI/ADX) into a low-lag, zero-lag-filtered oscillator that captures market velocity, direction, and trend intensity with surgical precision.

Classical ADX/DMI indicators suffer from a severe noise-versus-lag tradeoff: raw +DI and -DI components are notoriously jagged and prone to false crossovers, while standard smoothing filters (such as Wilder's Smoothing or EMAs) introduce unacceptable signal lag. DMX solves this by eliminating the absolute value constraint to create a true Bipolar DMI spanning from -100 to +100, and filtering it using an integrated Jurik Moving Average (JMA) engine. The result is a noise-free, highly responsive curve that detects directional momentum shifts faster and cleaner than conventional trend indicators.


💡 CORE DESIGN PRINCIPLES

🧭 True Bipolar Oscillator Architecture
Traditional DMI splits direction into separate lines (+DI/-DI) and ADX discards directional orientation. DMX unifies direction and trend strength into a single continuous bipolar oscillator oscillating between -100 and +100 around a zero axis.

🎛️ JMA Adaptive Filtering Engine
By passing raw directional movement differentials through a multi-stage Jurik filter, high-frequency market chatter is suppressed without delaying critical trend reversals or momentum turns.

🎚️ Modular Phase & Power Control
Unlike static indicators, DMX provides modular JMA fine-tuning controls:
Phase (-100 to +100): Adjusts the balance between lag reduction and overshoot prevention. Positive values accelerate responsiveness for fast-moving markets, while negative values increase smoothness.
Power: Controls the acceleration exponent of the smoothing curve, allowing traders to customize how aggressively the filter adapts to price velocity.


💡 KEY FEATURES

Ultra-Smooth Bipolar Output: Delivers a clean, continuous line ranging from -100 (Extreme Bearish) to +100 (Extreme Bullish) centered around a dynamic zero axis.
Multi-Tier Trend Regimes: Includes customizable upper (+50) and lower (-50) threshold bounds to easily identify strong trend continuations versus sideways consolidation.
Dynamic Trend & Bar Coloring: Features automatic visual execution that colors both the DMX oscillator line and chart price bars based on real-time trend direction and threshold strength.
Comprehensive Alert Engine: Equipped with pre-configured, non-repainting alertcondition events for zero-line crossovers and threshold breaches.


🔬 MATHEMATICAL ARCHITECTURE

[code]
[STEP 1: Directional Movement Derivation]
• Up Move = High - High[1], Down Move = Low[1] - Low
• Raw +DM = (Up > Down and Up > 0) ? Up : 0.0
• Raw -DM = (Down > Up and Down > 0) ? Down : 0.0
• True Range (TR) = max(High - Low, |High - Close[1]|, |Low - Close[1]|)

[STEP 2: Bipolar DMI Construction]
• Smooth +DM, -DM, and TR using RMA over user Length
• +DI = 100 * Smooth(+DM) / Smooth(TR)
• -DI = 100 * Smooth(-DM) / Smooth(TR)
• Raw Bipolar DMI = 100 * (+DI - -DI) / (+DI + -DI)

[STEP 3: JMA Adaptive Smoothing Pass]
• Derive Beta & Alpha Coefficients from Length and Power
• Apply Multi-Stage Recursive Filter with Phase Ratio (PR) adjustment
• JMA(Raw Bipolar DMI) => Final DMX Output [-100 to +100]
[/code]


🛠️ USAGE FRAMEWORK

1. Zero Line Crossovers (Macro Trend Bias)
DMX Crossing Above 0: Confirms a bullish regime shift. Focus on long positions, trend continuations, or buying pullbacks.
DMX Crossing Below 0: Confirms a bearish regime shift. Focus on short positions, trend continuations, or selling relief rallies.

2. Threshold Regimes (+50 / -50)
Above +50 (Strong Bullish): Market is in a strong upward trend expansion.
Below -50 (Strong Bearish): Market is in a strong downward trend expansion.
Between -50 and +50 (Neutral Zone): Identifies choppy or consolidating market conditions.

3. Momentum Direction & Divergences
Because DMX is virtually free of line-jitter, turning points (slopes) in the DMX line provide reliable early warnings of momentum exhaustion and potential price-oscillator divergences long before classical indicators react.


⚙️ SYSTEM CHARACTERISTICS

Zero Repainting: All calculations strictly evaluate on closed historical bar states.
Fully Parameterized Inputs: Customize period length, phase, power, threshold boundaries, bar coloring, and color themes.
Asset-Agnostic Engine: Operates with high precision across Equities, Forex, Crypto, Commodities, Futures, and Indices.
Clean & Modern UI: Built to Pine Script v6 standards and optimized for visual clarity on both dark and light chart themes.


📌 CREDIT & ATTRIBUTION

The Jurik Dynamic Movement Index Approximation script is engineered and published by gunebak4n on PulseWire.

This indicator is based on the mathematical concepts of the Jurik Dynamic Movement Index (DMX) originally conceptualized by Mark Jurik (Jurik Research).


⚠️ DISCLAIMER

This script is an open-source community implementation and mathematical approximation of the DMX concept. It is not affiliated with, officially supported by, or endorsed by Mark Jurik or Jurik Research. This indicator is a technical analysis visualization tool and does not provide financial advice, automated trading signals, or profit guarantees. Always perform thorough backtesting and practice strict risk management.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.