OPEN-SOURCE SCRIPT
업데이트됨 Buy / Sell Volume Header

Buy / Sell Volume Header
Description
- Buy / Sell Volume Header displays real-time buying and selling volume with percentages in a clean dashboard at the top or bottom of your chart. The indicator calculates buying pressure as volume weighted toward the close relative to the bar's range, and selling pressure as volume weighted toward the high.
- Perfect for day traders and scalpers who need instant visual confirmation of buying vs selling pressure without cluttering their chart with additional panes.
Key Features:
- Real-time buy/sell volume split with percentages
- Customizable lookback period (1 bar for current, or sum multiple bars)
- Adjustable table position (top/bottom, left/center/right)
- Five size options (Tiny to Huge)
- Color-coded: Green (buying volume), Red (selling volume)
- Clean, minimal design that doesn't obstruct price action
Calculation Method:
- Buying Volume = Total Volume × (Close - Low) / (High - Low)
- Selling Volume = Total Volume × (High - Close) / (High - Low)
How to Use:
- Select header location (default: Top Right) and table size (default: Normal). Set lookback period to 1 for current bar only, or higher values to see cumulative volume over multiple bars.
Reading the Display:
- Green Box (Left): Buying volume and percentage of total
- Red Box (Right): Selling volume and percentage of total
- Numbers update in real-time on every tick
Trading Applications:
- Trend Confirmation:
- In uptrends, buying volume should consistently be >60%.
- In downtrends, selling volume should be >60%. Divergences warn of potential reversals.
Breakout Validation:
- Valid breakouts show 70%+ volume in breakout direction.
- Breakouts with <55% directional volume often fail.
Reversal Signals:
- When price makes new high but buying volume drops below 50%, watch for reversal. When price makes new low but selling volume drops below 50%, watch for bounce.
Scalping Entry:
- Enter long when buying volume spikes above 65-70% with price momentum. Enter short when selling volume spikes above 65-70% with price momentum.
Best Practices:
- Use lookback=1 for intraday scalping. Use lookback=3-5 for swing context. Combine with price action for confirmation. Volume percentages work best on liquid instruments (MNQ, MES, stocks with high volume).
NPR21
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView.
Description
- Buy / Sell Volume Header displays real-time buying and selling volume with percentages in a clean dashboard at the top or bottom of your chart. The indicator calculates buying pressure as volume weighted toward the close relative to the bar's range, and selling pressure as volume weighted toward the high.
- Perfect for day traders and scalpers who need instant visual confirmation of buying vs selling pressure without cluttering their chart with additional panes.
Key Features:
- Real-time buy/sell volume split with percentages
- Customizable lookback period (1 bar for current, or sum multiple bars)
- Adjustable table position (top/bottom, left/center/right)
- Five size options (Tiny to Huge)
- Color-coded: Green (buying volume), Red (selling volume)
- Clean, minimal design that doesn't obstruct price action
Calculation Method:
- Buying Volume = Total Volume × (Close - Low) / (High - Low)
- Selling Volume = Total Volume × (High - Close) / (High - Low)
How to Use:
- Select header location (default: Top Right) and table size (default: Normal). Set lookback period to 1 for current bar only, or higher values to see cumulative volume over multiple bars.
Reading the Display:
- Green Box (Left): Buying volume and percentage of total
- Red Box (Right): Selling volume and percentage of total
- Numbers update in real-time on every tick
Trading Applications:
- Trend Confirmation:
- In uptrends, buying volume should consistently be >60%.
- In downtrends, selling volume should be >60%. Divergences warn of potential reversals.
Breakout Validation:
- Valid breakouts show 70%+ volume in breakout direction.
- Breakouts with <55% directional volume often fail.
Reversal Signals:
- When price makes new high but buying volume drops below 50%, watch for reversal. When price makes new low but selling volume drops below 50%, watch for bounce.
Scalping Entry:
- Enter long when buying volume spikes above 65-70% with price momentum. Enter short when selling volume spikes above 65-70% with price momentum.
Best Practices:
- Use lookback=1 for intraday scalping. Use lookback=3-5 for swing context. Combine with price action for confirmation. Volume percentages work best on liquid instruments (MNQ, MES, stocks with high volume).
NPR21
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView.
릴리즈 노트
🚀 Updated "Buy / Sell Volume Header" to v2.1!New feature: Added Center Right position option for the header table.
Now you have even more flexibility to place the Buy/Sell volume stats exactly where you want them on the chart.
Full code in the comments/reply. Feedback welcome! 🙌
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.