OPEN-SOURCE SCRIPT
Net Buy Volume [theUltimator5]

This indicator tracks cumulative net buy volume using TradingView's footprint data tool.
Disclaimer: The volume footprint is a premium tool that is only available to premium subscribers or higher. If you don't have a premium plan, there is a possibility that you won't be able to use this indicator.
Three Display Modes:
- Volume: Cumulative net buy volume (buy volume - sell volume)
- Dollars: Cumulative net buy volume converted to dollar value
- Delta: Bar-by-bar difference between buy and sell volume
One recommended use case is to move the indicator on top of the chart to visualize real-time divergences between price and buy or sell volume. Price and volume divergence can indicate institutional moves that are hidden underneath the price action.

Customizable Price Calculation (for Dollar mode):
- Close price
- Open price
- (Open + Close) / 2
- (High + Low + Open + Close) / 4
- (High + Low) / 2
Visual Design:
- Volume mode: Aqua stepline showing cumulative net buying/selling
- Dollar mode: Neon pink stepline showing dollar-weighted net volume
- Delta mode: Green/red columns showing immediate buy/sell pressure
Values are automatically formatted as K (thousands), M (millions), or B (billions)
How to Use:
1. Select your preferred data type (Volume, Dollars, or Delta)
2. If using Dollar mode, choose how price should be calculated
3. Watch for trends in cumulative volume to identify sustained buying or selling pressure
4. Use Delta mode to see individual bar pressure in real-time
Disclaimer: The volume footprint is a premium tool that is only available to premium subscribers or higher. If you don't have a premium plan, there is a possibility that you won't be able to use this indicator.
Three Display Modes:
- Volume: Cumulative net buy volume (buy volume - sell volume)
- Dollars: Cumulative net buy volume converted to dollar value
- Delta: Bar-by-bar difference between buy and sell volume
One recommended use case is to move the indicator on top of the chart to visualize real-time divergences between price and buy or sell volume. Price and volume divergence can indicate institutional moves that are hidden underneath the price action.
Customizable Price Calculation (for Dollar mode):
- Close price
- Open price
- (Open + Close) / 2
- (High + Low + Open + Close) / 4
- (High + Low) / 2
Visual Design:
- Volume mode: Aqua stepline showing cumulative net buying/selling
- Dollar mode: Neon pink stepline showing dollar-weighted net volume
- Delta mode: Green/red columns showing immediate buy/sell pressure
Values are automatically formatted as K (thousands), M (millions), or B (billions)
How to Use:
1. Select your preferred data type (Volume, Dollars, or Delta)
2. If using Dollar mode, choose how price should be calculated
3. Watch for trends in cumulative volume to identify sustained buying or selling pressure
4. Use Delta mode to see individual bar pressure in real-time
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。