Advanced Order Blocks with Volume
This professional-grade indicator combines order block detection with sophisticated volume analysis to identify high-probability trading zones. Tracks mitigation status and highlights unmitigated blocks. A powerful script to customize and extend with HorizonAI.

What's Included
How Advanced Order Blocks with Volume works
An order block is the last opposing candle or zone before an impulsive move away from a level. The reasoning is that institutions accumulate positions in that area before driving price, so the block marks a price region where significant orders were likely placed. When price later returns to that zone, some of those resting orders may still be active, which is why order blocks are watched as potential reaction points.
Adding volume to the picture helps gauge how meaningful a block is. A block that formed on notably heavy participation is treated as more significant than one that formed on thin activity, because heavier volume suggests genuine institutional interest rather than a random candle. This lets you rank blocks instead of treating them all the same.
The concept of mitigation tracks whether price has already returned to and reacted at a block. An unmitigated block has not yet been retested and is often considered more likely to produce a reaction; once price trades back through it, the block is considered mitigated and usually loses its edge. Watching mitigation keeps you focused on the zones that still have unfinished business.
When to use it
- Looking for pullback entries when price returns to a fresh, unmitigated order block in the direction of your bias
- Prioritizing blocks that formed on strong volume over weak ones when several candidates exist
- Placing stops just beyond a block, since a clean break through it invalidates the idea
- Combining a block with a structure break so the zone aligns with the prevailing trend
When it's not the right tool
- In fast trends that never retrace to the block, leaving you waiting for an entry that does not come
- When a block has already been mitigated, as the reaction it might have produced is usually spent
- As a reason to fade a strong trend; blocks work best with the trend, not blindly against it
Source Code Preview
Get the full PineScript v6 source code—use it as a foundation and build on top of it with HorizonAI.
Frequently asked questions
What exactly is an order block?
It is the last opposing candle or small cluster of candles before a strong impulsive move. The theory is that large players positioned there before pushing price, so the zone can act as support or resistance when price revisits it. It is a probabilistic area of interest, not a guaranteed turning point.
Why does volume matter for order blocks?
Volume is a proxy for participation. A block that formed on heavy volume suggests more real orders changed hands there, which many traders consider a stronger, more reliable zone. A block on light volume is easier to break and tends to react less predictably.
What does mitigation mean?
Mitigation is when price returns to an order block and trades into it. An unmitigated block has not been retested yet and is often watched more closely; once mitigated, the block has largely done its job and is given less weight. Tracking mitigation stops you from relying on zones that are already used up.
Do order blocks repaint or work on all markets?
A block is only drawn after the impulsive move that defines it has occurred, so the block itself is fixed once formed, though the most recent price action is always evolving. The concept applies across forex, indices, crypto and stocks, but it works best on liquid instruments with clean structure. Always confirm with your own analysis.
Get access to all 23+ scripts
Full source code, alert templates, and the perfect base to build on with HorizonAI. Join 10,000+ traders.


