I think about very simple Volume indicator for TradingView with 3 colour bars?: For Standard Volume it would be 3 bars: bullish, bearish and third pink volume bar lower than n
previous volume bars. Can someone help me with that?
Welcome to the BEST forum for traders
Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".
I think about very simple Volume indicator for TradingView with 3 colour bars?: For Standard Volume it would be 3 bars: bullish, bearish and third pink volume bar lower than n
previous volume bars. Can someone help me with that?
Hi
You might want to use the barcolor function
https://www.tradingview.com/pine-script-reference/v4/#fun_barcolor
Example:
barcolor(bullish_condition ? color.green : bearish_condition ? color.red : volume_lower_than_n_previous_bars ? color.pink : color.na, title="Bar Color")