Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Smoothed & colored BB bands?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Smoothed & colored BB bands?

    Hi.

    Is there any way in NT to:

    a) apply a smoothing value to upper and lower Bollinger bands
    b) to have them change color if they squeeze closer than an "x"% parameter

    Any help much appreciated.

    5iver

    #2
    Hello,

    1- The BB already has smoothing in that is uses a simple moving average. However you could apply an additional smoothing factor if you want. You could build something like this in the Strategy Wizard by using the BollingerBand has the input series for an SMA.

    2- Some time ago I built two indicators that may meet your request. One is called BollingerPrecentB and can be found in the file sharing portion of this forum.
    The other one is called TripleState and it is attached to this post.
    Attached Files
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,

      1- The BB already has smoothing in that is uses a simple moving average. However you could apply an additional smoothing factor if you want. You could build something like this in the Strategy Wizard by using the BollingerBand has the input series for an SMA.

      2- Some time ago I built two indicators that may meet your request. One is called BollingerPrecentB and can be found in the file sharing portion of this forum.
      The other one is called TripleState and it is attached to this post.


      Thanks Ben, I'll check them both out and report back.

      Comment


        #4
        Originally posted by NinjaTrader_Ben View Post
        Hello,

        1- The BB already has smoothing in that is uses a simple moving average. However you could apply an additional smoothing factor if you want. You could build something like this in the Strategy Wizard by using the BollingerBand has the input series for an SMA.

        2- Some time ago I built two indicators that may meet your request. One is called BollingerPrecentB and can be found in the file sharing portion of this forum.
        The other one is called TripleState and it is attached to this post.


        Ben, the TripleState is exactly what I was after on the band-coloring side. Thanks.

        However, is there any way to refine the narrow threshold range to work in fractions, rather than whole number values? So, 1.2, 1.3, 2.65 etc... I'm finding that whole numbers are too chunky to get the results I was hoping for.
        Last edited by 5iver; 11-04-2008, 06:23 PM.

        Comment


          #5
          Hello,

          I attached the indicator with the change. I basically changed narrow_threashold from an int to a double in the variables and properties. I have not tested this, but give it a try.
          Attached Files
          DenNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Ben View Post
            Hello,

            I attached the indicator with the change. I basically changed narrow_threashold from an int to a double in the variables and properties. I have not tested this, but give it a try.
            Thanks Ben, but when I try to download the attachment, I'm told I'm not logged in and do not have access to the page... yet I am...

            Comment


              #7
              Hello,

              You will need to log back in.

              We have migrated our Support Forum to a new server which will serve us all better and provide you with a better experience when using our support forum. As a result, you will have to re-login. Please use the link below to retrieve your password.

              http://www.ninjatrader-support2.com/vb/login.php?do=lostpw

              Let us know if you need any additional assistance.
              DenNinjaTrader Customer Service

              Comment


                #8
                Logged out. Reset password via email. Twice. Still get the same error message...

                I can download other attachments just fine...

                ?

                Comment


                  #9
                  I've reuploaded it in this post. See if you can download now.
                  Attached Files
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Thank you, yes :-)

                    Comment


                      #11
                      Much better, thank you :-)

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by nandhumca, Today, 03:41 PM
                      0 responses
                      4 views
                      0 likes
                      Last Post nandhumca  
                      Started by The_Sec, Today, 03:37 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post The_Sec
                      by The_Sec
                       
                      Started by GwFutures1988, Today, 02:48 PM
                      1 response
                      5 views
                      0 likes
                      Last Post NinjaTrader_Clayton  
                      Started by ScottWalsh, 04-16-2024, 04:29 PM
                      6 responses
                      33 views
                      0 likes
                      Last Post ScottWalsh  
                      Started by frankthearm, Today, 09:08 AM
                      10 responses
                      36 views
                      0 likes
                      Last Post frankthearm  
                      Working...
                      X