Order Block / FVG Detector
Category: market_structure
Detects specific 3-candle patterns identifying 'Order Blocks' or 'Fair Value Gaps' (FVG) where price has impulsively reversed after a consolidation or breakout.
Formula
\text{Bullish OB (Default): } C_{i+2} < O_{i+2} \land C_{i+1} < O_{i+1} \land C_{i} > O_{i} \land C_{i+1} < L_{i+2} \land C_{i} > H_{i+1} \\ \text{Bullish FVG: } C_{i+3} < O_{i+3} \land C_{i+2} < O_{i+2} \land C_{i+1} > O_{i+1} \land L_{i} > H_{i+2} \land C_{i+1} > H_{i+2} \\ \text{Bearish conditions are inverted.}
Inputs
- Mode (default: OB_MODE_DEFAULT)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.