Sonarlab - Order Blocks
Category: market_structure, momentum
Identifies supply and demand zones (Order Blocks) triggered by high-momentum price moves, providing visual boxes and alerts when price re-enters these zones.
Formula
ROC_4 = (Open_0 - Open_4) / Open_4 * 100\nTrigger_{Bull} = ROC_4 > Sensitivity\nTrigger_{Bear} = ROC_4 < -Sensitivity\nOB_{Zone} = [High, Low] of the first opposite-color candle within the lookback window (4-15 bars) prior to the trigger.
Inputs
- Sensitivity (default: 28)
- OB Mitigation Type (default: Close)
- Buy Signal Alert (default: true)
- Sell Signal Alert (default: true)
See signal primitives and every published strategy that uses Sonarlab - Order Blocks on WOBR StrategyVerse.