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

CCI with SMA

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

    CCI with SMA

    I need a hand again.
    Can someone give me the instructions on how to add a moving average to an indicator?
    Thank you
    Tom

    #2
    TomTrades,

    How are you wanting to use this moving average? Are you wanting to have it applied to the CCI indicator, or have an additional dataseries plotting some moving average?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Hi Adam
      I want to apply it to a CCI
      Tom

      Comment


        #4
        TomTrades,

        You could do something like this.

        MyPlot.Set( SMA( CCI( cci_period) , sma_period )[0] ) ;

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          ? Were how would I enter that?

          Comment


            #6
            TomTrades,

            You posted to a NinjaScript segment of our thread so I assumed you were wanting code , apologies for that if I am incorrect. Do you want instructions for how to do this in NinjaScript or would you like to know how to do this in a NinjaTrader chart by manually adding indicators to it?
            Adam P.NinjaTrader Customer Service

            Comment


              #7
              I just want to add it on my charts.
              Sorry for the confusion.
              Tom

              Comment


                #8
                TomTrades,

                Sure, no problem.

                Please right click your chart > go to "Indicators", and add the type of moving average you want to have on the CCI.

                Then, in the moving average properties, there is a field called "Input series". If you click on it, then click the "..." icon to the right, you can change this to be the CCI with any relevant settings you want.

                This will then be the moving average of the CCI.

                Please don't hesitate to contact us should you require additional assistance.
                Adam P.NinjaTrader Customer Service

                Comment


                  #9
                  That is what I was doing.
                  But I just figured it out, I had to adjust the input series. I have 3 time frames on my chart.
                  Working now!
                  Thanks
                  Tom

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Tim-c, Today, 03:54 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post Tim-c
                  by Tim-c
                   
                  Started by FrancisMorro, Today, 03:24 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post FrancisMorro  
                  Started by Segwin, 05-07-2018, 02:15 PM
                  10 responses
                  1,771 views
                  0 likes
                  Last Post Leafcutter  
                  Started by Rapine Heihei, 04-23-2024, 07:51 PM
                  2 responses
                  31 views
                  0 likes
                  Last Post Max238
                  by Max238
                   
                  Started by Shansen, 08-30-2019, 10:18 PM
                  24 responses
                  945 views
                  0 likes
                  Last Post spwizard  
                  Working...
                  X