Volume bar Color Thresholds

Forums ProRealTime English forum ProBuilder support Volume bar Color Thresholds

Viewing 3 posts - 1 through 3 (of 3 total)
  • #237712

    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

    #237749

    Aquí tienes un ejemplo:

    1 user thanked author for this post.
    #237779

    Beautiful. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login