FVG Crosscheck (Python Definition)

Category: market_structure

Detects Fair Value Gaps (FVG) by identifying imbalances between the high of candle i-2 and the low of candle i, with an optional ATR-based filter for significance.

Formula

Bullish Gap: Low_t > High_{t-2} \\
Bearish Gap: High_t < Low_{t-2} \\
ATR_{filter}: SMA(TrueRange, n) \\
Significance: |Gap| \ge k \cdot ATR_{filter}

Inputs

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home