OPEN-SOURCE SCRIPT
Updated T4T High Probability Order Blocks

Most order block indicators mark every last opposing candle before a move. This one doesn't. My HP-OB indicator only plots an order block when the full sequence that give OB its meaning is present - liquidity taken, displacement, and a FAVG - so what's on your chart is a shortlist, not a wallpaper.
How an OB qualifies
A bullish OB requires three consecutive candles to each do their job:
1. The OB candle - bearish candle that engages sell-side liquidity: a lower against recent price, a raid of a prior swing low, or a tap of equal/relatively equal lows. It must also hold the extreme move.
2. The displacement candle - a candle with real conviction.
3. The confirmation candle - its close must leave a clean FVG behind - No gap > No order block!
Everything is mirrored for bearish OBs. Nothing plots until the confirmation candle closes - no repainting, no provisional boxes.
Zone management
Zones extend forward until price interacts with them. A tap into the zones dims after the OB has been tested; a close through the far side retires it. Delays for both are configurable, and stale zones are automatically pruned so charts stay readable.
Settings
Pivots sensitivity, displacement strength, equal-level tolerance, and lower -lower lookback are all adjustable, along with zone boundaries, colours, and optional FVG boxes.
Alerts
Four built-in conditions: new bullish OB, new bearish OB, and first test of either - so you can wait for price to come to your level instead of chasing.
This tool mark structure; it doesn't make decisions. Fewer, cleaner zones and the discipline to wait for them - #PatiencePays
How an OB qualifies
A bullish OB requires three consecutive candles to each do their job:
1. The OB candle - bearish candle that engages sell-side liquidity: a lower against recent price, a raid of a prior swing low, or a tap of equal/relatively equal lows. It must also hold the extreme move.
2. The displacement candle - a candle with real conviction.
3. The confirmation candle - its close must leave a clean FVG behind - No gap > No order block!
Everything is mirrored for bearish OBs. Nothing plots until the confirmation candle closes - no repainting, no provisional boxes.
Zone management
Zones extend forward until price interacts with them. A tap into the zones dims after the OB has been tested; a close through the far side retires it. Delays for both are configurable, and stale zones are automatically pruned so charts stay readable.
Settings
Pivots sensitivity, displacement strength, equal-level tolerance, and lower -lower lookback are all adjustable, along with zone boundaries, colours, and optional FVG boxes.
Alerts
Four built-in conditions: new bullish OB, new bearish OB, and first test of either - so you can wait for price to come to your level instead of chasing.
This tool mark structure; it doesn't make decisions. Fewer, cleaner zones and the discipline to wait for them - #PatiencePays
Release Notes
Breaker blocks added.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Join the T4Trading Discord community for live trading sessions and mentoring. #PatiencePays
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Join the T4Trading Discord community for live trading sessions and mentoring. #PatiencePays
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.