How do you code colour between two Bollinger Bands

Forums ProRealTime English forum ProBuilder support How do you code colour between two Bollinger Bands

  • This topic has 6 replies, 3 voices, and was last updated 4 years ago by avatarBard.
Viewing 7 posts - 1 through 7 (of 7 total)
  • #130813

    Hi, I’ve searched and searched but can’t find any simple way to add a colour zone between two manually coded Bollinger Bands? I would also like to be able to control transparency too so the colour doesn’t obscure the candlesticks or overwhelms and second Bollinger band series.

    Cheers,

    #130814

    Don’t bother to code it. Just return the values in your indicator and then use the ‘configure’ indicator window and add a colour zone between the values and then save the settings as default settings. Then even if you export the ITF file those will be fixed settings for the indicator and anyone who imports it will have the same colour zones.

    If you are drawing segments then it is slightly more difficult and you will need to draw vertical lines between the segments to add some basic colour.

    2 users thanked author for this post.
    #130817
    #130845

    Before v11, we were used to code the background color with DRAWCANDLE or DRAWBARCHART, a simple trick but it works well. With v11, we can now change the color of a graphical object and therefore create real color zones with codes, examples: https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/#post-118817 (rectangular zones), or https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/#post-118818 (with triangle when the zone is not a square or a rectangle).

    1 user thanked author for this post.
    #132636

    Probability cones, those look interesting! Do you know when v11 is available to IG clients Nicolas?

    #132638

    I think that I can guess Nicolas’ answer…… ‘Ask IG!’

    2 users thanked author for this post.
    #132930

    IG Index emailed me this response in regard to the launch of V11 for IG clients:

    Thanks for your email and we unfortunately can’t provide a timescale of when this could possibly be but due to going  through extraordinary times there has been delays of projects so it is likely to happen later in the year.

    1 user thanked author for this post.
Viewing 7 posts - 1 through 7 (of 7 total)

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