Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CCI with Histogram

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

    CCI with Histogram

    The attached CCI_Histogram code was modified from the standard CCI.cs that was distributed with NinjaTrader 6.0.1000.5.

    The modifications include histogram bars along with the CCI line plot, plus the CCI line plot was modified to display a different color when it goes above 100 or below -100.

    KBJ
    Attached Files

    #2
    I like the new look, thanks a lot KBJ.

    Comment


      #3
      Thanks, you saved me some programming. Was going to translate CCI Histogram from Metatrader indicator tonight. By any chance you have not already coded MACD Divergence?? Could save me some time.

      Thanks for the indicator.

      Comment


        #4
        Rollins & Rich,

        You're very welcome.

        The MACD is a "Moving Average Convergence Divergence" and it comes standard with NinjaTrader.

        Are you talking about a MACD with an extra divergence or something?

        KBJ

        Comment


          #5
          No, I am not talking about standard MACD. I am talking about detecting the Macd Divergence for Forex on 4hour Macd.

          Oh well, I guess that is a no. Gone coding. Thanks again for the indicator.

          Comment


            #6
            Sounds interesting. Is it useful? And if so...

            Can you tell me a little more?

            Comment


              #7
              In the same Forum I pointed you to, perform a search for 4 Hour MACD, or Just MACD Divergence, you should find some hits. Then apply it on MetaTrader and see if you like it. If so, translate it from Metatrade to Ninja. The code pretty much is supposed to Identify Macd Divergence. You will have to study a bit of webinars to get MACD divergence. I learned about it from a CBOT webinar.

              Comment


                #8
                Great, much appreciated!!

                Originally posted by KBJ View Post
                The attached CCI_Histogram code was modified from the standard CCI.cs that was distributed with NinjaTrader 6.0.1000.5.

                The modifications include histogram bars along with the CCI line plot, plus the CCI line plot was modified to display a different color when it goes above 100 or below -100.

                KBJ

                Comment


                  #9
                  Does anyone know how ninja calculates the CCI? Does it use last, high low average or high low close average?

                  Comment


                    #10
                    It uses Typical which is (High + Close + Low) / 3
                    RayNinjaTrader Customer Service

                    Comment


                      #11
                      Hello,
                      I like this indicator alot and I like the CCI line color changes.
                      I have tried to make some changes and edit this code myself but I just cant get it to do what I want. I am trying to get the CCI bars to change color from lime green to green when the CCI is above the zero line and the CCI bar value increases then decreases. And, the same for below the zero line, the CCI bars to change color from red to dark red when the CCI is below the zero line and the CCI bar value increases then decreases.
                      Like the BBS indicator shown below.
                      Any help or thoughts would be appreciated.

                      Thanks
                      Attached Files

                      Comment


                        #12
                        What setting with CCI

                        Originally posted by KBJ View Post
                        The attached CCI_Histogram code was modified from the standard CCI.cs that was distributed with NinjaTrader 6.0.1000.5.

                        The modifications include histogram bars along with the CCI line plot, plus the CCI line plot was modified to display a different color when it goes above 100 or below -100.

                        KBJ


                        Pardon me if this question seems lame. I am a bit confused as to whether to have the 'Calculate on bar close' set to true or false. The difference between entry and exit depending on a correct reading on the CCI.
                        Any advice would be appreciated.

                        Comment


                          #13
                          Crown Prince, this will only effect the last bar currently working on the chart in realtime - http://www.ninjatrader-support.com/H...BarClose1.html

                          Performance wise it's better to use this set to 'true'.
                          BertrandNinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by NinjaTrader_Bertrand View Post
                            Crown Prince, this will only effect the last bar currently working on the chart in realtime - http://www.ninjatrader-support.com/H...BarClose1.html

                            Performance wise it's better to use this set to 'true'.
                            Many Thanks....

                            Comment


                              #15
                              anybody got the version that draws arrows on the chart...when zero line change occurs. Thxs

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by algospoke, Yesterday, 06:40 PM
                              2 responses
                              19 views
                              0 likes
                              Last Post algospoke  
                              Started by ghoul, Today, 06:02 PM
                              3 responses
                              14 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by jeronymite, 04-12-2024, 04:26 PM
                              3 responses
                              45 views
                              0 likes
                              Last Post jeronymite  
                              Started by Barry Milan, Yesterday, 10:35 PM
                              7 responses
                              21 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by AttiM, 02-14-2024, 05:20 PM
                              10 responses
                              181 views
                              0 likes
                              Last Post jeronymite  
                              Working...
                              X