OPEN-SOURCE SCRIPT

Temporal Volume Profile 3D [LuxAlgo]

11 521
The Temporal Volume Profile 3D indicator is a spatial visualization tool that transforms historical volume data into a three-dimensional landscape, adding a time-depth dimension to traditional volume analysis.

By projecting volume across price (X), time (Y), and magnitude (Z), it allows traders to observe the evolution and migration of liquidity over time rather than viewing it as a static, aggregate value.

🔶 USAGE

The primary advantage of this script is its ability to reveal the "lifecycle" of volume nodes. While a standard Volume Profile (VP) squashes all historical data into a single 2D histogram, this tool slices the lookback period into distinct segments, creating a "terrain" where the most recent volume is in the foreground and older volume resides in the background.

🔹 Identifying Volume Migration
By observing the peaks of the volume mountains, you can see if the Point of Control (POC) is migrating. A POC shifting from the background (older) to the foreground (newer) indicates a trending consensus of fair value, whereas a consistent peak across all time slices suggests a long-term, stable support or resistance zone.

🔹 Price Proximity & Liquidity Interaction
The indicator includes a real-time price tracker that moves across the 3D terrain. If the current price enters a significant historical volume mountain, the tracker triggers a "Peak Warning," signaling that the price is entering a high-liquidity zone likely to cause consolidation or reversal.

🔹 The Paths of Least Resistance
Valleys in the 3D landscape represent Low Volume Nodes (LVNs). When price moves into a valley that has remained empty across multiple time slices, it indicates a lack of historical interest at those levels, often resulting in fast, "slippery" price action through those zones.

🔶 DETAILS

Standard Volume Profiles lose the "when" of volume accumulation. For example, a 2D profile might show a large volume peak at $100, but it cannot tell you if that volume was traded 200 bars ago or 5 bars ago. The Temporal Volume Profile 3D solves this by using a Painter's Algorithm to render slices of volume data along a depth axis.

🔹 3D Engine & Projection
The script uses a custom trigonometric projection engine allowing users to adjust the Yaw (rotation) and Pitch (tilt) of the landscape. This allows for a bird's-eye view to see the "map" of volume or a side-profile view to emphasize the height of the volume peaks.

🔹 POC Ridge Line
This feature connects the highest volume node of every time slice. This creates a continuous path through the mountains, providing a visual history of how the most significant price levels have changed over the selected lookback period.

🔶 SETTINGS

🔹 Volume Profile & Matrix
  • Lookback Bars: The total historical window used for the calculation.
  • Price Bins (Width): Determines the horizontal resolution (X-axis). Higher values provide more detailed price levels.
  • Time Slices (Depth): Determines how many segments the volume is divided into (Y-axis).
  • Terrain Smoothing: Blends adjacent volume nodes to create a more organic, mountain-like appearance.


🔹 Camera Projection
  • Yaw/Pitch: Controls the angle of the 3D projection.
  • Scale X/Y/Z: Adjusts the width, depth, and height of the volume mountains.
  • Offset X/Y: Moves the 3D object on the chart to prevent it from overlapping with current candles.


🔹 Style & Colors
  • Show Ridge Lines: Toggles the colored outlines for each time slice.
  • Mountain Fills: Enables the use of the background color to occlude lines, creating a solid 3D effect.
  • Show POC Ridge Line: Toggles the yellow line tracking the peak volume through time.
  • Peak Proximity Warning: Toggles the color change on the price tracker when entering high-volume zones.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.