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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน