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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.