Volume Profile Bar-Magnified Order Blocks
Jun 8, 2023

The Volume Profile Bar-Magnified Order Blocks indicator provides a multi-dimensional view of market interest by integrating detailed volume profiles directly within detected order block zones. By utilizing lower timeframe data to distribute volume across segments, it allows traders to identify high-activity price levels within institutional interest zones.
Usage
The Usage section describes how the script can be used to identify key supply and demand areas with internal volume precision. Traders can use this tool to find "Point of Control" areas within an order block, which often act as precise magnets or rejection points for price action.
The indicator automatically detects order blocks based on the Tuning setting. Once a block is identified, it populates a horizontal volume profile. This profile helps in distinguishing between "hollow" order blocks and those with significant capital commitment at specific price levels.
Market Rejections
A common application is watching for price rejections off the highest volume segment (the longest bar) within the order block. These segments represent the highest concentration of traded volume and often serve as the strongest support or resistance within the zone.
Mitigation Tracking
The indicator tracks when an order block is "mitigated" (tested by price) and can remove them from the chart based on user-defined criteria, such as price wicks or candle closes penetrating a certain percentage of the block.
Details
The script executes by pulling data from lower timeframes (LTF) using request.security_lower_tf. This data is then segmented into a grid within the price range of the order block.
- Volume Calculation: The tool calculates the volume for each segment by determining how much of an LTF candle's range overlaps with a specific grid segment. This provides a more accurate distribution than simple per-candle volume.
- Dynamic Scaling: The length of the volume bars within the order block scales dynamically relative to the time elapsed since the block was formed and the relative volume of each segment.
- Significance: Higher Tuning values require a more specific sequence of candles to trigger an order block, filtering out "noise" but resulting in fewer signals.
Settings
Main Settings
- Tuning: Controls the sensitivity and significance of order block detection. Higher values result in fewer, more significant blocks; lower values increase frequency but may include less impactful zones.
- Amount Of Grids: Determines the vertical granularity of the volume profile. A higher number creates more segments within each order block for more precise volume mapping.
- Mitigation Method: Defines the condition required to consider an order block invalidated. Options include price wicks or candle closes crossing 25%, 50%, 75%, or 100% of the block's range.
Color Settings
- Bull High/Low Vol: Sets the color gradient for volume bars within bullish order blocks.
- Bear High/Low Vol: Sets the color gradient for volume bars within bearish order blocks.
- Border/Fill Color: Adjusts the aesthetic properties of the order block's primary container and background.
FAQ
What is the "Tuning" setting used for? The Tuning setting adjusts the internal logic for identifying order blocks. Increasing the number requires a longer sustained move to qualify a zone as an order block, effectively acting as a significance filter.
Why do some order blocks disappear? Order blocks are removed from the chart once they meet the "Mitigation Method" criteria (e.g., a candle closes through the zone) or when the maximum number of allowed boxes is exceeded.
How can I access this indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.