OPEN-SOURCE SCRIPT
Volume Delta [PhantomCipher]

Volume Delta
Volume Delta shows each candle's volume together with an estimate of whether buyers or sellers were in control of it. The delta (buying volume minus selling volume) is drawn inside the volume column, so you can compare the two at a glance.
SNAPSHOT: a 15m chart with the indicator in its pane, showing volume columns with delta columns inside them
Shown on the 15-minute chart
The snapshots use the 15-minute timeframe. On that chart, each candle's delta is built from its fifteen 1-minute candles, which gives enough detail to separate real buying or selling pressure from noise while staying readable.
How it works
A large delta column means one side clearly dominated the candle. A small one inside a tall volume column means buying and selling were close to balanced, even though a lot traded.
Lower timeframe used
The lower timeframe is picked for you from the chart's timeframe:
Pine Script®
SNAPSHOT: a 15m close-up where a tall volume column has a small delta column, next to one where the delta fills most of the column
Settings
Limitations
Example chart:
BTCUSDT.P
This indicator estimates buying and selling pressure. It's not a trading signal on its own, so combine it with your own analysis and risk management.
Volume Delta shows each candle's volume together with an estimate of whether buyers or sellers were in control of it. The delta (buying volume minus selling volume) is drawn inside the volume column, so you can compare the two at a glance.
SNAPSHOT: a 15m chart with the indicator in its pane, showing volume columns with delta columns inside them
Shown on the 15-minute chart
The snapshots use the 15-minute timeframe. On that chart, each candle's delta is built from its fifteen 1-minute candles, which gives enough detail to separate real buying or selling pressure from noise while staying readable.
How it works
- Volume column: the full volume of the candle. It's green when the candle closed at or above its open and red when it closed below.
- Delta column: drawn inside the volume column. Its height is the size of the delta, and its colour is the side that won: green when buying volume was greater and red when selling volume was greater.
- How delta is estimated: each candle is broken into smaller candles from a lower timeframe. The volume of each smaller candle is counted as buying or selling according to its direction, and the delta is the difference between the two totals.
A large delta column means one side clearly dominated the candle. A small one inside a tall volume column means buying and selling were close to balanced, even though a lot traded.
Lower timeframe used
- Seconds charts: 1 second
- Minute and hour charts, including 15m: 1 minute
- Daily charts: 5 minutes
- Weekly and monthly charts: 1 hour
The lower timeframe is picked for you from the chart's timeframe:
SNAPSHOT: a 15m close-up where a tall volume column has a small delta column, next to one where the delta fills most of the column
Settings
- Render Mode: Delta Highlight (default) draws volume with the delta inside it. Standard draws volume columns only.
Limitations
- Delta is an estimate built from lower-timeframe candles, not from individual trades, so it can differ from order-flow tools that use tick data.
- TradingView limits how much lower-timeframe data a script can load, so delta may be missing on older candles, especially on higher timeframes.
- The symbol must have volume data. If the data vendor provides none, the indicator shows an error instead of an empty pane.
Example chart:
This indicator estimates buying and selling pressure. It's not a trading signal on its own, so combine it with your own analysis and risk management.
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.