KNN-ACF Persistence Reversion Strategy
Family: hybrid · Regime: trending · Complexity: high · Asset classes: Equities, Forex, Crypto · Timeframes: H1, H4, D1
Thesis
The strategy hypothesizes that markets exhibit 'serial persistence' during pullbacks; by using KNN to identify structural similarity and ACF to confirm momentum memory, we can exploit RSI extremes that are likely to mean-revert toward the primary trend rather than signal a total reversal.
Components
- Unsupported const if expression reassignment qualifier (regime) — Acts as a 'heat-death' regime filter; by using bar_index as the length, the indicator becomes a cumulative-style anchor that filters out increasingly larger cycles of noise as the session progresses.
- AI Trend Navigator [K-Neighbor] (direction) — Provides non-parametric trend direction by comparing current price structures to the most similar historical clusters.
- AI - RSI Strategy (entry) — Identifies local exhaustion points (oversold/overbought) within the context of a structural 200-period SMA trend.
- UTBot Alerts (exit) — Serves as a dynamic trailing stop and trend-reversal exit, utilizing ATR-based volatility expansion to lock in gains.
- WP Nostromo Hoki (Wyatt Pivots) (risk) — Uses Daily Fibonacci-based pivot levels to define hard stop-loss coordinates and calculate risk-adjusted position sizes based on structural support/resistance.
- Autocorrelation Function (ACF) (confirmation) — Confirms serial correlation in returns; ensures that the RSI pullback is not a random walk but part of a persistent trend (Positive ACF).
Known failure conditions
- The 'Dynamic EMA' length exceeds the available lookback buffer of the platform, leading to null values.
- Market enters a 'low-memory' state where ACF oscillates around zero, rendering the trend-persistence hypothesis invalid.
- Price breaches Wyatt Pivot S4/R4 consistently, indicating a regime shift that the KNN model has not yet clustered.
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).