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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.