OPEN-SOURCE SCRIPT

Dual Range Volume Profile

554
█ OVERVIEW
“Dual Range Volume Profile” is a volume analysis indicator that displays two independent volume profiles simultaneously:
- Main Profile – a profile built from the entire visible chart range
- Pivot Profile – a profile calculated from the most recent significant pivot (swing high / swing low)
This allows the trader to see at the same time:
- where the market accumulated volume in the broader structural context,
- and where price equilibrium is forming within the current move.
The indicator draws a volume-by-price histogram, POC, Value Area (VA), and an information table with key levels. It combines macro and micro context in one tool.

█ CONCEPTS
Volume Profile shows at which price levels the highest trading activity occurred — in other words, where the market actually built positions.

Main Profile
This profile is calculated from the entire visible chart range. It provides a broad context:
- historical market balance
- areas of position building
- levels that often act as price magnets
It represents the structural balance of the market.

Pivot Profile
This profile begins at the most recent confirmed pivot (swing high / swing low). It shows the volume distribution inside the current impulse and helps evaluate:
- where new positions are being built
- whether the move is supported by volume
- where a new balance is forming
It represents the context of the current move.

POC – Point of Control
The price level with the highest volume. It often acts as:
- the center of balance
- a price magnet
- a reaction level during retests

Value Area (VA)
The price range where a defined percentage of total volume occurred. VA represents the area of balance between buyers and sellers.

█ FEATURES
- Two volume profiles working simultaneously (global + pivot-based)
- Separate POC for each profile
- Value Area displayed as a box and VA High / VA Low lines
- Configurable VA percentage
- Automatic pivot detection with “Last PH/PL” label
- Volume gradient from low to high
- Full visual customization and an info table with levels

█ HOW TO USE
The Main Profile helps determine where price stands relative to the broader market balance — whether it trades above, inside, or below value.

The Pivot Profile shows how volume is distributed within the current move and whether the impulse is truly supported by market activity. Retests of the pivot POC often behave as local support or resistance.

█ APPLICATIONS
In practice, the indicator is best used for working with price reaction zones and evaluating move quality.

POC and Value Area boundaries often behave like dynamic support and resistance because they represent price levels where the market spent the most activity and participation. After a strong impulse, price frequently returns to the pivot POC or VA boundaries, where the market decides between continuation or a return to balance.

Value Area can also serve a different role — as a compression zone before a move. When price consolidates inside VA for an extended period, the market is in balance. A breakout beyond VA signals a shift from balance to imbalance (volatility expansion). If the breakout is followed by a retest of the VA boundary from the outside, accompanied by increased volume, this often creates an opportunity to enter in the breakout direction.

Particularly strong zones appear when multiple contexts align: Main POC is close to Pivot POC, both Value Areas overlap, and the level coincides with market structure (swings, OB, FVG, higher timeframe levels, etc.). This combination of structure and two layers of volume creates areas with increased probability of price reaction.

The indicator also helps assess move quality — if price moves aggressively but the Pivot Profile does not build meaningful volume, the move may be weak and prone to pullbacks.

█ NOTES
When the chart is heavily zoomed in, both profiles may appear very similar. This can lead to the false conclusion that a zone is exceptionally strong, while it is only the effect of a narrowed data range. Profiles should always be interpreted from a broader perspective, aligned with your trading horizon.

The indicator is not suitable for markets where volume does not reflect real traded activity (e.g., tick volume, synthetic volume, or aggregated data without true liquidity). The quality of volume data directly affects the quality of the levels.

There are also markets where no real volume data exists at all. In such environments, the indicator cannot function properly, as its calculations depend entirely on meaningful volume information.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน