I’m looking to color volume bars based on variable thresholds (for example if volume>400k then color orange, if > 1M then color pink, etc). Is there a way to do this with the built in volume indicator or can it be created in pro-builder code? I’ve tried my own take at it using something similar to the excerpt below but it is only showing regular trading hours volume. During pre and post market there are no volume bars.
IF close > open AND Volume > q THEN
upvoln = 0
upvolm = 0
upvolo = 0
upvolp = 0
upvolq = Volume
downvoln = 0
downvolm = 0
downvolo = 0
downvolp = 0
downvolq = 0
ELSIF close > open AND Volume > p THEN
upvoln = 0
upvolm = 0
upvolo = 0
upvolp = Volume
upvolq = 0
downvoln = 0
downvolm = 0
downvolo = 0
downvolp = 0
downvolq = 0