OPEN-SOURCE SCRIPT
Aggiornato Buy / Sell Volume Header / NPR21

📊 Buy / Sell Volume Header – NPR21
Overview
Buy / Sell Volume Header – NPR21 displays real-time Buy vs Sell volume dominance in a clean, Thinkorswim-style fixed header at the top of the chart.
Instead of cluttering candles with labels, this indicator presents volume information in a compact, side-by-side header, allowing traders to instantly gauge who is in control of the current bar—buyers or sellers—without losing focus on price action.
How It Works
Buy and Sell volume are estimated using candle structure:
Buy Volume is derived from the portion of the candle closing above the low
Sell Volume is derived from the portion of the candle closing below the high
Percentages show relative dominance for the most recently confirmed bar
This approach provides a fast, intuitive order-flow bias that works across futures, indices, crypto, and equities.
Key Features
✔ Thinkorswim-style fixed header
✔ Side-by-side Buy | Sell layout (no overlap)
✔ Bold green/red backgrounds with white text
✔ Compact font for intraday trading
✔ Updates only on confirmed bars (non-repainting)
✔ No candle clutter
✔ Optimized for scalping and intraday trading
Best Use Cases
Confirming buyer vs seller control
Adding confluence to:
Momentum indicators
VWAP / EMA strategies
Market structure & BOS setups
Quick decision support during:
Breakouts
Pullbacks
Range highs/lows
This tool is designed to be confirmation, not a standalone signal.
Notes
This is a volume estimation tool, not true bid/ask or footprint data
Best used alongside price action and structure
Overview
Buy / Sell Volume Header – NPR21 displays real-time Buy vs Sell volume dominance in a clean, Thinkorswim-style fixed header at the top of the chart.
Instead of cluttering candles with labels, this indicator presents volume information in a compact, side-by-side header, allowing traders to instantly gauge who is in control of the current bar—buyers or sellers—without losing focus on price action.
How It Works
Buy and Sell volume are estimated using candle structure:
Buy Volume is derived from the portion of the candle closing above the low
Sell Volume is derived from the portion of the candle closing below the high
Percentages show relative dominance for the most recently confirmed bar
This approach provides a fast, intuitive order-flow bias that works across futures, indices, crypto, and equities.
Key Features
✔ Thinkorswim-style fixed header
✔ Side-by-side Buy | Sell layout (no overlap)
✔ Bold green/red backgrounds with white text
✔ Compact font for intraday trading
✔ Updates only on confirmed bars (non-repainting)
✔ No candle clutter
✔ Optimized for scalping and intraday trading
Best Use Cases
Confirming buyer vs seller control
Adding confluence to:
Momentum indicators
VWAP / EMA strategies
Market structure & BOS setups
Quick decision support during:
Breakouts
Pullbacks
Range highs/lows
This tool is designed to be confirmation, not a standalone signal.
Notes
This is a volume estimation tool, not true bid/ask or footprint data
Best used alongside price action and structure
Note di rilascio
Added header location options allowing the Buy/Sell Volume Header to be placed at the top-left, top-center, top-right, bottom-left, bottom-center, or bottom-right of the chart. No changes to calculations or visual styling.Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.