RSI & Volume Coloured Bars

Candles get darker when volume is high, and brighter when volume is low. They are red or green depending on whether the RSI is above or below a threshold value, or alternatively you can pick a more vanilla coloring based on current close vs last close or last open.

For personal use as I enjoy the aesthetics of it. The more solid RSI coloring helps highlight the brightness variations from changing volume and makes trends crystal clear.

Inspired by "Volume Based Coloured Bars" by KivancOzbilgic:

and by and by RSI bars chart by taskman9:
Release Notes: Added an "invert" checkbox that lets you invert red/green should you want to.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?