Strategy rules.
Complete execution model.
The supplied Pine strategy defines two selectable engines. OG Liquidity waits for a confirmed sweep of prior liquidity and then an MSS/CHoCH close through internal structure. CVD Divergence can instead qualify an aggressive breakout, low-volume-price retest and price-versus-delta divergence. Both engines are filtered by H4 range location, EMA 200 and the operating session. The supplied OANDA XAUUSD export contains 112 closed long trades from September 19, 2025 through August 5, 2026, and its headline metrics reconcile with the accompanying TradingView screenshot.
Representative rule map · entry, invalidation and objective—not a historical trade.

