Darvas-Donchian Log-Variance Breakout
Family: breakout · Regime: trending · Complexity: medium · Asset classes: Equities, Crypto, Forex · Timeframes: H1, H4, D1
Thesis
Market breakouts are most reliable when they occur at the edge of a structural box (Darvas) with immediate velocity (Donchian), provided the price is not at its recent statistical floor (PNR). Risk must be managed via logarithmic error (MSLE) to account for the non-linear nature of price expansion during these phases.
Components
- Percentile Nearest Rank (25th, Length 14) with Data Hole Test (regime) — Used as a 'volatility floor' regime filter. It ensures the price is not currently stagnating at the absolute bottom of its recent 14-period distribution (for longs), suggesting active momentum rather than a 'data hole' or lack of interest.
- Darvas Boxes Modern/Classic (direction) — Defines the primary market structure. It identifies the 'box' within which price is consolidating, providing the directional bias upon breakout.
- Donchian Channels (DC) (entry) — Acts as the execution trigger. While Darvas identifies the structural shift, the Donchian breakout confirms immediate price velocity to reduce 'false' structural signals.
- ADX / Connectable [Azullian] (exit) — Monitors trend strength and exhaustion. It exits positions when momentum fades or the directional index (DI) crosses over against the trade.
- Mean Squared Logarithmic Error (MSLE) (risk) — Calculates the variance of price from its log-average. Used to set stop losses that are wider during high-error (volatile) periods and tighter during low-error periods.
Known failure conditions
- Price enters a long-term 'step' pattern where Darvas boxes frequently overlap without expansion.
- MSLE remains consistently below 0.0001, indicating extreme stagnation where breakout logic fails to cover spread/slippage.
- ADX remains below 20 for more than 50 bars, indicating a total loss of trendable momentum.
Explore the full interactive blueprint, parameter ranges and evidence on WOBR StrategyVerse, or generate this strategy as an MT4/MT5 Expert Advisor with QuantMogul AI Engine.