OPEN-SOURCE SCRIPT

Sunset candles

Displays the volume behind each candle with colors, to visualise their evolution over time, directly in the chart.
This indicator is best suited for dark mode (Suggested background color: #0a0c12).

The more intense is the color, the bigger is the volume.
The unit is a 400 periods moving average of the volume, considered as 1 volume.
Each color represents half of this volume. For ex: Grays indicate under (or equal) to the 400 MA (low volumes). Bright yellow represents above 7 times the 400 MA (very high volumes).

When there's no available volume datas, the candles turn bright green by default.

The wicks' colors stay the same, and can still indicate the direction of the candle.

In the settings, you can show/hide the gradient of the volume. By moving your chart over this gradient, it is possible to compare the candles to the colors, and read the corresponding volume number.
Candlestick analysiscoloredbarsVolume 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?

Disclaimer