OPEN-SOURCE SCRIPT
Multi-Timeframe Volume Profile & Orderflow Levels

Description:
This indicator is a comprehensive Volume Profile and Orderflow mapping tool designed to track real-time and historical liquidity zones across multiple timeframes. By breaking down volume data into customizable price bins, it accurately calculates and visualizes the most critical structural levels used in auction market theory.
Unlike standard built-in profile tools, this script utilizes a custom tick-based volume distribution engine (using Pine Script maps) to ensure precise calculations of the Value Area and Point of Control (POC), while keeping the chart clean with strictly horizontal lines and designated zone boxes.
Core Features
Multi-Timeframe Tracking: Simultaneously tracks and plots Volume Profile data for Custom, Daily, Weekly, and Monthly timeframes.
Current & Previous Levels: Automatically calculates and displays levels for the active period, while also retaining and plotting the previous periods' levels (Prev D, Prev W, Prev M) for historical context.
Key Orderflow Metrics:
POC (Point of Control): The price level with the highest traded volume for the period.
VAH & VAL (Value Area High / Low): The upper and lower bounds of the Value Area (customizable, defaults to 70% of total volume).
Period Open (OHLC): The opening price of the specified timeframe to gauge directional shifts.
Previous Day Value Area Box: Visually shades the previous day's value area to easily identify immediate overhead resistance or underlying support.
Clean Visuals: Uses an isolated object-oriented drawing method to render perfect horizontal lines from the period start to the current bar, eliminating the messy "curved line" effect seen in many other indicators during timeframe transitions.
How to Use It
Acceptance vs. Rejection: Monitor how price reacts when approaching the Previous Day, Week, or Month's POC or Value Area extremes. Rejections at these levels often provide high-probability entry points.
Breakouts: If price opens outside the Previous Day's Value Area and fails to re-enter, it can signal a strong directional trend for the session.
Confluence: Overlap between different timeframes (e.g., a Daily POC aligning with a Weekly VAH) creates stronger zones of support or resistance.
Customization & Inputs
The inputs tab is designed for exact UI matching and complete modularity:
Value Area %: Adjust the standard 70% threshold to fit your strategy.
Ticks per Profile Bin: Lower values increase the precision of the volume nodes, while higher values provide a broader, smoother calculation.
Display Toggles: Every single timeframe (Current and Previous) and metric (POC, VAH, VAL, Open) can be independently toggled on or off and color-coded to keep your chart tailored to your exact needs.
Drawing Anchors: Choose whether the current period lines draw from the start of the period or trail tightly behind the current bar.
This indicator is a comprehensive Volume Profile and Orderflow mapping tool designed to track real-time and historical liquidity zones across multiple timeframes. By breaking down volume data into customizable price bins, it accurately calculates and visualizes the most critical structural levels used in auction market theory.
Unlike standard built-in profile tools, this script utilizes a custom tick-based volume distribution engine (using Pine Script maps) to ensure precise calculations of the Value Area and Point of Control (POC), while keeping the chart clean with strictly horizontal lines and designated zone boxes.
Core Features
Multi-Timeframe Tracking: Simultaneously tracks and plots Volume Profile data for Custom, Daily, Weekly, and Monthly timeframes.
Current & Previous Levels: Automatically calculates and displays levels for the active period, while also retaining and plotting the previous periods' levels (Prev D, Prev W, Prev M) for historical context.
Key Orderflow Metrics:
POC (Point of Control): The price level with the highest traded volume for the period.
VAH & VAL (Value Area High / Low): The upper and lower bounds of the Value Area (customizable, defaults to 70% of total volume).
Period Open (OHLC): The opening price of the specified timeframe to gauge directional shifts.
Previous Day Value Area Box: Visually shades the previous day's value area to easily identify immediate overhead resistance or underlying support.
Clean Visuals: Uses an isolated object-oriented drawing method to render perfect horizontal lines from the period start to the current bar, eliminating the messy "curved line" effect seen in many other indicators during timeframe transitions.
How to Use It
Acceptance vs. Rejection: Monitor how price reacts when approaching the Previous Day, Week, or Month's POC or Value Area extremes. Rejections at these levels often provide high-probability entry points.
Breakouts: If price opens outside the Previous Day's Value Area and fails to re-enter, it can signal a strong directional trend for the session.
Confluence: Overlap between different timeframes (e.g., a Daily POC aligning with a Weekly VAH) creates stronger zones of support or resistance.
Customization & Inputs
The inputs tab is designed for exact UI matching and complete modularity:
Value Area %: Adjust the standard 70% threshold to fit your strategy.
Ticks per Profile Bin: Lower values increase the precision of the volume nodes, while higher values provide a broader, smoother calculation.
Display Toggles: Every single timeframe (Current and Previous) and metric (POC, VAH, VAL, Open) can be independently toggled on or off and color-coded to keep your chart tailored to your exact needs.
Drawing Anchors: Choose whether the current period lines draw from the start of the period or trail tightly behind the current bar.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.