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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน