Bollinger ATR Squeeze

Forums ProRealTime English forum ProBuilder support Bollinger ATR Squeeze

  • This topic has 6 replies, 2 voices, and was last updated 1 year ago by avatarAlfy.
Viewing 7 posts - 1 through 7 (of 7 total)
  • #209738

    Good afternoon, ive created this indicator that shows when the Bollinger bands divided by Average true range are trading within 3-4 ATR, 2-3 ATR and below 2 ATR. Im looking to have dots all on the zero level with white dots when the bollingers are between 3-4 ATR, Green dots between 2-3 ATR and blue dots below 2 ATR and red dots at all other times. Can someone take a look at my code and see where its going wrong please? Im seeing the dots in a squeeze at the one level whilst the rest of the dots are at the zero level and the dots at the zero level are white and red whereas they should just be red since at those times the Bollingers are wider than 4 ATR. Any help much appreciated.

    Thanks in advance

     

     

    #209741
    JS

    Hi Alfy,

    Try this one…

    #209743

    Wow1 thanks for your help. It seems that only the mid squeeze is working..i have the green dots working fine but the rest of the dots are red which seems to suggest the white (wider sqz) and the blue (narrower sqz) are not being picked up.

    #209745
    JS

    Hi Alfy,

    Return the value of “C” and compare it with your colors…

    #209747

    I get the same as you so i see the green dots and the Blue dots but it seems that its not picking up the white dot wider squeeze which is C with values between 3 & 4. (Lowsqz=c=<4 and c>3) Really appreciate you help with this. Its almost perfect

    #209749
    JS

    Hi Alfy,

    Try this one…

    1 user thanked author for this post.
    #209753

    Wow JS! Thanks so much, works perfectly

    1 user thanked author for this post.
    avatar JS
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