Soliton Kdv Rogue Wave Detector MT5
- Indicatori
-
Anthony Cooke
Quantitative Systems Architect and C++, Python, MQL5, MQL4, and Pine Script developer specializing in non-repainting mathematical indicators, Expert Advisors, and statistical strategy audits. I combine industrial quality-control engineering and Applied Mathematics with multi-physics market modeling - Versione: 1.0
- Attivazioni: 5
Overview & Scientific Origin
The Soliton Kdv Rogue Wave Detector is an institutional quantitative indicator engineered from Nonlinear Fluid Physics and Oceanography. Based on the classic Korteweg-de Vries (KdV) partial differential equation, this branch of physics studies solitons (self-reinforcing solitary waves, such as deep-ocean tsunamis or fiber-optic light pulses, that travel long distances without breaking apart or losing energy) and rogue waves (sudden high-amplitude wave surges where nonlinear steepening overpowers natural dispersion). Adapted into a strictly causal, non-repainting trading oscillator, this indicator helps traders separate genuine, self-sustaining trend breakouts from short-lived fakeouts across Gold (XAUUSD), Silver (XAGUSD), Major Forex pairs, and US Indices.
Mathematical Mechanism & What It Does
Ordinary price spikes quickly collapse back into the range because market dispersion spreads the move out. A true institutional breakout behaves like a physical soliton—where directional steepening actively balances and overcomes dispersion:
- Smoothed Wave Field (u): Across a 55-bar lookback (InpPeriod = 55), the algorithm computes how many ATRs price has displaced from its rolling mean, then applies a fast 5-bar EMA (InpFieldSmooth = 5) to construct a clean, continuous wave field.
- Nonlinear Steepening vs. Cubic Dispersion: On every bar, the indicator evaluates the 1st derivative (wave slope) multiplied by wave amplitude (InpAlphaSteep * |u0| * du1) to quantify nonlinear steepening, and compares it directly against the 3rd derivative (InpBetaDisp * du3) representing cubic dispersion.
- Soliton Wave & Rogue-Wave Filter: Combining the wave field, steepening, and dispersion plots the continuous Turquoise Soliton_Wave curve bounded between -5.0 and +5.0. A bold OrangeRed Rogue_Wave_Spike histogram bar triggers only when three strict conditions fire together: absolute wave amplitude exceeds InpRogueThresh (2.5), nonlinear steepening dominates cubic dispersion (|steep| > |disp|), and the wave slope accelerates in the breakout direction.
How to Trade With This Indicator
- Bullish Rogue-Wave Breakout (+2.5 Spike): When the Turquoise Soliton_Wave breaks above +2.5 and illuminates a positive OrangeRed Rogue_Wave_Spike histogram bar, nonlinear upward steepening has overcome dispersion—confirming a self-reinforcing bullish trend surge.
- Bearish Rogue-Wave Breakdown (-2.5 Spike): When the Turquoise wave plunges below -2.5 accompanied by a negative OrangeRed Rogue_Wave_Spike bar, the model confirms a high-momentum bearish breakout.
- Fakeout & Dispersion Filter (-2.5 to +2.5, or Silent Histogram): If price oscillates inside the neutral -2.5 to +2.5 zone—or even pushes past 2.5 while Rogue_Wave_Spike stays flat at 0.0—cubic dispersion or slowing velocity is breaking the wave apart, signaling traders not to chase an exhausted move.
Technical Specifications & Input Parameters
- Calculation Engine: 100% causal bar-by-bar execution with zero repainting, zero backpainting, and zero external DLL calls.
- InpPeriod (Default: 55) & InpFieldSmooth (Default: 5): Rolling equilibrium/ATR period and wave-field EMA smoothing window.
- InpAlphaSteep (Default: 1.5) & InpBetaDisp (Default: 0.5): Nonlinear steepening gain (α) and cubic dispersion gain (β) tuning the KdV wave balance.
- InpRogueThresh (Default: 2.5): Critical breakout threshold required to trigger Rogue_Wave_Spike histogram signals.
- Prop-Firm & EA Ready: Clean 4-buffer design (ExtRogueBuffer, ExtSolitonBuffer, ExtUFieldBuffer, ExtTRBuffer) ready for direct Expert Advisor breakout gating.
-----Also Available for MetaTrader 4 (MT4): Running MT4 instead of MT5? The identically engineered MetaTrader 4 version of Soliton Kdv Rogue Wave Detector is already published on my MQL5 Seller Profile with the exact same icon, parameters, and mathematical engine. Click my seller name to grab the MT4 edition.
