OPEN-SOURCE SCRIPT

Volume Delta [PhantomCipher]

268
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
  • 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:
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
  • 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: 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.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.