OPEN-SOURCE SCRIPT
Volume Profile (LVN + HVN Detection)

This script builds a customizable session-by-session Volume Profile with extended features for deeper order-flow analysis. It lets traders visualize where the most and least trading activity occurred in any chosen timeframe and resolution, directly on the chart.
🔑 Features
Dynamic Volume Profile
Adjustable Rows and Resolution Timeframe for fine-tuned granularity. Profiles automatically update on each session change.
Volume Point of Control (VPOC)
Highlights the single price level with the highest traded volume.
Option to extend the last N VPOCs forward in time.
Optional date labels for extended VPOCs.
High Volume Nodes (HVNs)
Detects and plots areas/levels of concentrated activity.
Configurable strength filter to control validation.
Display as solid/dotted lines (Levels) or filled Areas.
Color-coded relative to prior session close.
Low Volume Nodes (LVNs) (NEW)
Identifies thin-volume zones often acting as rejection or breakout points.
Configurable strength filter.
Display as dotted Levels or shaded Areas.
Color-coded relative to prior session close.
Profile Extend
Choose how much of the profile should extend into the next session for forward-looking context.
📊 Use Cases
Spotting value areas and key auction levels.
Finding support/resistance zones via HVNs and LVNs.
Tracking VPOC shifts across sessions for directional bias.
Identifying low-volume rejection zones where price may accelerate.
⚙️ Customization
Profile rows, timeframe, and resolution.
VPOC line width, colors, and label size.
HVN/LVN strength, type (Levels/Areas), and color themes.
🔑 Features
Dynamic Volume Profile
Adjustable Rows and Resolution Timeframe for fine-tuned granularity. Profiles automatically update on each session change.
Volume Point of Control (VPOC)
Highlights the single price level with the highest traded volume.
Option to extend the last N VPOCs forward in time.
Optional date labels for extended VPOCs.
High Volume Nodes (HVNs)
Detects and plots areas/levels of concentrated activity.
Configurable strength filter to control validation.
Display as solid/dotted lines (Levels) or filled Areas.
Color-coded relative to prior session close.
Low Volume Nodes (LVNs) (NEW)
Identifies thin-volume zones often acting as rejection or breakout points.
Configurable strength filter.
Display as dotted Levels or shaded Areas.
Color-coded relative to prior session close.
Profile Extend
Choose how much of the profile should extend into the next session for forward-looking context.
📊 Use Cases
Spotting value areas and key auction levels.
Finding support/resistance zones via HVNs and LVNs.
Tracking VPOC shifts across sessions for directional bias.
Identifying low-volume rejection zones where price may accelerate.
⚙️ Customization
Profile rows, timeframe, and resolution.
VPOC line width, colors, and label size.
HVN/LVN strength, type (Levels/Areas), and color themes.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.