K-Neighbor VWAP Volatility Confluence
Family: hybrid · Regime: trending · Complexity: medium · Asset classes: FX Major Pairs, Large Cap Equities, Gold · Timeframes: 15m, 1h, 4h
Thesis
Intraday price trends are most tradable when local momentum (KNN) aligns with volume-weighted fair value (VWAP) during periods where the specific asset's volatility exceeds the global currency benchmark. The hypothesis is that 'Volatile' status in the Range Volatility Monitor acts as a filter for idiosyncratic 'hot' money flows, while KNN filters for non-linear trend persistence. The 'w8' component ensures the risk engine is active and correctly scaled.
Components
- Indicator Workspace Template (SIBVIC) (regime) — Acts as the structural container; enforces a 1000-bar lookback limit to ensure KNN calculations remain performant and prevent runaway memory usage.
- AI Trend Navigator [K-Neighbor] (direction) — Provides the primary directional bias by using non-linear KNN smoothing to identify if the current price state resembles historical bullish or bearish clusters.
- Volume Weighted Average Price (VWAP) (entry) — Used as the execution trigger. Crossing the session VWAP identifies momentum shifts relative to the day's institutional volume-weighted 'fair value'.
- SuperTrend (exit) — Provides a volatility-adjusted trailing stop. Once the trend momentum captures a profit, the ATR-based band locks in gains or exits on a reversal.
- w8-hold-size-renamed-control-v6-v1 (risk) — Serves as a diagnostic multiplier (fixed at 1.0) to ensure array consistency and as a unit-basis for position sizing calculations.
- Range Volatility Monitor (volatility_filter) — Filters entries by requiring the current symbol's range to exceed a global FX average, ensuring the strategy only enters during periods of idiosyncratic volatility.
Known failure conditions
- KNN prediction fails to update for >10 bars due to lack of diverse historical neighbors.
- Range Volatility Monitor remains permanently 'not volatile' because the asset's point-value is fundamentally smaller than the FX basket's percentage basis.
- VWAP resets cause immediate whipsaw exits on SuperTrend during session opens.
Explore the full interactive blueprint with parameter ranges and evidence on WOBR StrategyVerse, or generate this strategy as an MT4/MT5 Expert Advisor with QuantMogul AI Engine (free download).