OPEN-SOURCE SCRIPT

Saty Volume Stack

Breaks volume into buy and sell volume and stacks them based on which side has higher volume.

Dynamic Buy / Sell Stack

Unlike other buy/sell volume indicators, which statically display this information (typically green over red), this indicator dynamically stacks the higher volume side on top. For example, green over red indicates more buy-side volume, red over green indicators more sell-side volume.

Current Candle Volume Buy/Sell %

A label shows the % buy vs sell volume for the current candle in real-time. This label is also dynamic with the left position being higher volume.

How the Buy/Sell Volume is Calculated

Buy/Sell % is calculated based on price.

Buy % is calculated using the distance between the low of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.

Sell % is calculated using the distance between the high of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.

Please note this is a proxy metric and while it is incredibly useful, it is not going to match up exactly with actual buy/sell volume that can be found on tape.
Volume IndicatorVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer