MindTheGap
Category: market_structure, volatility
Detects price gaps between the close of the previous candle and the open of the current candle, specifically identifying gaps beyond a user-defined threshold.
Formula
Gap\_Up = (Open[0] - Close[1]) \ge threshold \\ Gap\_Down = (Close[1] - Open[0]) \ge threshold
Inputs
- GAP (default: 10)
- SHIFT (default: op)
- DRAW (default: Arrows)
- SIZE (default: 2)
- COLOURUP (default: clrMediumTurquoise)
- COLOURDW (default: clrViolet)
- DOJI (default: Yes)
- COLOURDJ (default: clrYellow)
See signal primitives and every published strategy that uses MindTheGap on WOBR StrategyVerse.