OPEN-SOURCE SCRIPT

VolumeValueArea (Double Ref Back)

130
Description:

Overview This indicator is designed for traders who rely on Auction Market Theory and want to identify the market's true Fair Value with precision. It combines two independent Volume Profile instances into a single tool, allowing you to analyze market structure across multiple timeframes simultaneously (e.g., Daily and 4-Hour).

The unique feature of this script is the "Reference Back" logic. Instead of only seeing the current session's profile, you can project the Value Area (VA) and Point of Control (POC) from n periods ago onto the current session. This allows you to immediately see how price reacts to previous areas of high liquidity.

Key Features

Dual Profile Instances: Run two separate profiles (e.g., Profile 1 on 'Daily' and Profile 2 on '4 Hour') within one indicator to find confluence.

Historical Referencing (Offset): Display the levels of past sessions on the current chart.

Offset 0: Shows the developing levels of the current session.

Offset 1: Projects the finished levels of the previous session onto the current price action.

Active Line Projection: Automatically projects the relevant POC and Value Area lines into the future (infinite extension) for the currently active session, making it easy to spot upcoming support and resistance.

Stateless Session Precision: Uses a robust calculation method to ensure session breaks (like the 4-Hour starts) are mathematically precise, regardless of exchange timestamps.

Full Visual Control: Customize line styles (Solid, Dashed, Dotted), widths, and colors for POC, VAH, and VAL independently.

How to Use: Finding Fair Value Clusters

The primary goal of this script is to visualize where "Fair Value" overlaps across different timeframes. This is often called Clustering.

Setup Confluence: Set Profile 1 to a higher timeframe (e.g., Daily) and Profile 2 to a lower timeframe (e.g., 4 Hour or 1 Hour).

Analyze the Context: Set the Reference Back to 1. This allows you to trade the current session while seeing the key levels established in the previous session.

Identify Clusters: Look for areas where the Daily POC/Value Area aligns closely with the H4 POC/Value Area.

Strong Support/Resistance: When a Daily VAH aligns with a 4H POC, it creates a "Cluster" of interest.

Acceptance vs. Rejection: If price moves away from a cluster and creates a new value area, the market is seeking a new fair value. If it rotates around the cluster, fair value is established.

Settings Guide

Session Type: Choose between Daily, Weekly, Monthly, 4 Hour, 1 Hour, etc.

Reference Back (n Periods): Determines which past session's levels are drawn on the current bars. 0 = Current, 1 = Previous, 2 = The one before that.

Resolution: The granularity of the volume profile (higher = more precise).

Extend Active: If enabled, the lines for the current calculation period will extend infinitely to the right until a new session begins.

Styles: Configure independent line styles to visually distinguish between Profile 1 (e.g., solid lines) and Profile 2 (e.g., dashed lines).

Risk Disclaimer This tool is for chart analysis and educational purposes only. Past volume nodes do not guarantee future price reactions. Always manage your risk responsibly.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.