OPEN-SOURCE SCRIPT
Trinity Volume Profile / Fixed Range {LonesomeTheBlue}

Changes Made from the Original Script:
Original Author:
© LonesomeTheBlue — Huge credit to them for the excellent base Volume Profile code.
Orginal script: tradingview.com/v/kIY0znXs/
Major Modifications I added:
1. Right-side Profile — Moved the entire volume profile to the right of the current candle (instead of left) and this was my preference
2. Bars Flip Direction — Profile bars now grow to the left from the offset position (standard for right-side profiles).
3. Adjustable Offset — Added input to control how far right the profile appears (default 80 bars).
4. Bullish/Bearish Volume Values — Added labels showing ▲ (Up) and ▼ (Down) volume for each row.
5. POC+, POC-, VAH & VAL — Added Value Area High (POC+) and Value Area Low (POC-) lines and labels.
6. Improved Labels — POC, POC+, POC- labels are now cleanly placed on the far left of the profile.
7. Updated to Pine Script v6 — Modern syntax, type safety, and better performance.
Original Author:
© LonesomeTheBlue — Huge credit to them for the excellent base Volume Profile code.
Orginal script: tradingview.com/v/kIY0znXs/
Major Modifications I added:
1. Right-side Profile — Moved the entire volume profile to the right of the current candle (instead of left) and this was my preference
2. Bars Flip Direction — Profile bars now grow to the left from the offset position (standard for right-side profiles).
3. Adjustable Offset — Added input to control how far right the profile appears (default 80 bars).
4. Bullish/Bearish Volume Values — Added labels showing ▲ (Up) and ▼ (Down) volume for each row.
5. POC+, POC-, VAH & VAL — Added Value Area High (POC+) and Value Area Low (POC-) lines and labels.
6. Improved Labels — POC, POC+, POC- labels are now cleanly placed on the far left of the profile.
7. Updated to Pine Script v6 — Modern syntax, type safety, and better performance.
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.