Bollinger Band colours

Forums ProRealTime English forum ProBuilder support Bollinger Band colours

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by avatarJS.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #200455

    Good afternoon guys, i wonder if anyone can help. I am trying to colour my upper and lower Bollinger bands Green when the middle moving average is rising and Red when the middle Moving average is falling. Can someone help please? Ive copied the basic code for the Bollinger Bands themselves. Thanks for any help you can share!

    Best regards

     

    #200457
    JS

    Hi @Alfy

    To determine the direction of the average, you can use the Linear Regression Slope.

     

    2 users thanked author for this post.
    #200462

    Thanks so much JS!

    1 user thanked author for this post.
    avatar JS
    #200463
    JS

    You may be thinking, what does linear regression have to do with a moving average?

    Where the linear regression intersects with the moving average, that is the zero point of the linear regression slope…

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

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