OPEN-SOURCE SCRIPT

Volumetric Order Blocks - Benson

3 229
Developed a script that identifies Order Blocks (OBs) and analyzes the volume profile within them. It calculates the Buy and Sell volume percentages for the candle that forms the block, displaying these metrics directly on the chart using boxes and labels.

Key Features:
Order Block Detection: Identifies Bullish OBs (the last bearish candle before a strong bullish break) and Bearish OBs (the last bullish candle before a strong bearish break).
Volumetric Analysis: Calculates Buy and Sell volume percentages based on price action within the OB candle.
Visual Representation: Displays the zones as green (bullish) and red (bearish) boxes, with the volume data (e.g., "B 100% | S 0%") and total volume (e.g., "5.0K") shown clearly.
Strength Filtering: You can adjust the "Expansion Multiplier" to only highlight OBs that resulted in a significant move.

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.