Darvas Mode-Regime Breakout
Family: breakout · Regime: trending · Complexity: high · Asset classes: Equities, Crypto, Forex · Timeframes: H1, H4, D1
Thesis
Market regimes are persistent; by using a string-mode logic to confirm the dominant bias and Darvas boxes to identify consolidation breakouts, we can enter high-probability trades where institutional liquidity (Supply/Demand zones) provides a clear 'line in the sand' for risk management. The Williams %R ensures we enter at the start of a momentum surge rather than at exhaustion.
Components
- Mode of String Array (Compatibility Test) (regime) — Uses a rolling window of 20 periods to classify the 'Dominant Regime' (Bullish/Bearish) by calculating the mode of a string array populated by price-to-EMA proximity.
- Darvas Boxes Modern/Classic (direction) — Provides the directional breakout trigger based on established consolidation ranges.
- Williams %R (entry) — Acts as a momentum filter to ensure the breakout occurs with sufficient velocity but is not yet overextended.
- MACD Classic (3-Line) (exit) — Used for trend exhaustion exits when the MACD line crosses the signal line, indicating momentum decay.
- Dynamic Supply and Demand Zones [AlgoAlpha] (risk) — Defines the risk parameters by placing stop losses behind the most recent low-volume node/liquidity pocket.
Known failure conditions
- Asset remains in a perpetual 'Neutral' regime mode due to low volatility.
- Supply/Demand zones are too narrow, causing premature stop-outs during minor retests.
- Market exhibits 'V' reversals where Darvas boxes fail to form before the move is finished.
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.