Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CCI and Strategy Wizard

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

    CCI and Strategy Wizard

    Does anyone know, using the Strategy Wizard, if it is possible to open a position when the CCI hits a certain level such as either 200 or -200? I was able to make the period adjustable but didn't find a way to open a position when the CCI reaches a certain level. Any suggestions would be appreciated.

    #2
    Hello,

    Yes, just use CCI > numerical value. You can find numerical value under Misc.
    DenNinjaTrader Customer Service

    Comment


      #3
      Ben,

      I should have seen that but I didn't.

      Thank you for saving me a great deal of time.

      Comment


        #4
        The Strategy Wizard worked well as you had layed out below. Right now I have a variable period with a set CCI number of 200 and -200. Is there a way to have that number be adjustable so when I optimize it would find the best level to use such at 187 and -187? I tried making the Constant Line indicator adjustable with the CCI but it didn't work.

        Comment


          #5
          Hello,

          You can change the variables in the Strategy Wizard any time you want be resetting them. I'm not sure what you after here...
          DenNinjaTrader Customer Service

          Comment


            #6
            What I am trying to accomplish is being able to optimize the CCI strength to find the best level. An example would be to be able to set the optimizer to find out what is the optimum setting between 150-200 or -150-200 in which to open a position. Right now I am able to optimize the CCI period but not its strength. Does anyone have any thoughts on how this could be accomplished using the Strategy Wizard?
            Thank you
            Mark

            Comment


              #7
              Hello,

              By strength you mean the CCI value, right? If so, you will need to have the CCI value at which something will occur as an user defined input. So maybe something like this:

              if(CCI(Typical, 14)[0] > my_buy_cci_level)
              {
              //place some order
              }

              Where my_buy_cci_level is a user defined input that you set up in the beginning when you create the Strategy. Kind of like the period.
              DenNinjaTrader Customer Service

              Comment


                #8
                Hello Ben,

                Thanks for your response. You are right in that strength means CCI value. I am learning to use the Strategy Wizard. Is the programming you used below capable of being programmed using the Strategy Wizard? If so, what would the programming for that?

                Comment


                  #9
                  Hi 123r34, yes please check here how to compare an indicator to a threshold value - http://www.ninjatrader-support.com/H...mparisons.html

                  To optimize this, you will need to create a user input parameter for this value - http://www.ninjatrader-support.com/H...nedInputs.html

                  If you create user inputs for the CCI Period and your Buy / Sell levels you can later optimize those for the best paramters to use -

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  647 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  367 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  108 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  571 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  573 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X