Trading View pine script for Volume
Budget: ₹1,500 – ₹12,500 INR
need to highlight the bar on below conditiions :
if current candle if green
1. if current candle volume is greater than last red candle volume
2. if there are continous green candle are displayed then current green candle volume should be greater than previous green candle volume and last red candle volume
3. candle should be a power candle with <20% to the upper side or candle should be a pin bar
4. for Pinbar : if candle is green than background should be highlighted as red and viceversa
Viceversa for Sell
if current candle if green
1. if current candle volume is greater than last red candle volume
2. if there are continous green candle are displayed then current green candle volume should be greater than previous green candle volume and last red candle volume
3. candle should be a power candle with <20% to the upper side or candle should be a pin bar
4. for Pinbar : if candle is green than background should be highlighted as red and viceversa
Viceversa for Sell