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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.