VWMA-MACD Oracle Bridge with ZigZag Structure Exit
Family: trend_following · Regime: trending · Complexity: high · Asset classes: FX, Equities, Indices · Timeframes: 15M
Thesis
Intraday trends on the 15M timeframe are often driven by volume-weighted mean prices. By confirming VWMA trends with MACD momentum and executing only when structural triggers (OptionX) align, we can capture the meat of a daily move, using ZigZag swing points to exit before reversals accelerate. The 'empty slice' regime serves as a technical sanity check for the trading environment.
Components
- Supported for-in empty array slice result negative body history (regime) — Acts as a technical kill-switch; if the script's array handling or historical referencing (close[na]) fails, no trades are executed.
- Oracle Probes 15M Intraday Suite (direction) — Establishes the primary intraday trend direction by comparing price to volume-weighted and time-weighted averages.
- Legacy Trading Connector (OptionX) (entry) — Provides the specific execution trigger by capturing external binary or MT5 buffer signals to enter the trade.
- ZigZag Color (Classic) (exit) — Identifies confirmed structural reversals to trigger exits once a trend leg is exhausted.
- ATR Heiken Ashi (risk) — Uses smoothed volatility to set stop-loss distances and determine position sizing.
- MACD Classic (confirmation) — Filters entry signals by ensuring momentum is aligned with the directional bias.
Known failure conditions
- The strategy will fail if the underlying asset lacks volume for the VWMA to be meaningful.
- Failure if the external MegaConnector API (OptionX bridge) introduces latency exceeding 500ms.
- Invalidation if the ZigZag indicator enters a 'repainting loop' where price oscillates within the ExtDeviation threshold.
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.