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

Need ConnorsRSI

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

    Need ConnorsRSI

    Greetings,

    Can anyone share a version of ConnonRSI indicator with me?
    looks like the only place is BigMikeTrading but I don't have elite membership..

    thanks
    Billy

    #2
    Hello Billy,

    Thank you for your post.

    Unfortunately, I am unaware of any other resource for this indicator. One of our forum members may have such an option for you.

    Comment


      #3
      Did anything come of this???



      I'm interested in the ConnersRSI too.

      D.

      Comment


        #4
        Available here for members:

        I had tried Connor's group "tradingmarkets" RSI(2) newsletter for a stint. They would "powerrate" the stock and etf values based on their findings from 10 to 1. Everytime an entry point was listed it was too late to enter. When a 10 quickly reversed intraday, the "system" would change the 10 to a 5 or so instantly. It looked like a typical dummy software generated lagging newsletter list to me. And back then advertising all the while the newer better server side "the machine". …

        Comment


          #5
          ConnorRSI

          The code for this version of the RSI appears to be "open source"... and I have found no copyright restrictions on it. The versions I have seen are not coded for NT....but If you give me a couple of days (to do this in my spare time)....I will convert a version to NT and post it in the Ninja Downloads section.
          IMPORTANT: The ConnorRSI has a default "rankPeriod" lookback value of 100....which means this thing will be a real CPU hog if you run it with "CalculateOnBarClose=false. There are probably ways to code around this...but I am not investigating them....I am simply converting the existing code.

          The code should run fine on intraday charts....which seems to be what most retail traders favor....but I suggest leaving COBC=true.

          Comment


            #6
            Originally posted by photog53 View Post
            The code for this version of the RSI appears to be "open source"... and I have found no copyright restrictions on it. The versions I have seen are not coded for NT....but If you give me a couple of days (to do this in my spare time)....I will convert a version to NT and post it in the Ninja Downloads section.
            IMPORTANT: The ConnorRSI has a default "rankPeriod" lookback value of 100....which means this thing will be a real CPU hog if you run it with "CalculateOnBarClose=false. There are probably ways to code around this...but I am not investigating them....I am simply converting the existing code.

            The code should run fine on intraday charts....which seems to be what most retail traders favor....but I suggest leaving COBC=true.
            The version that I have coded can be used in COBC = false, unless you put hundreds of them on the market analyzer. The graph attached shows a test that I have run with the Connors RSI added to a chart with setting COBC = false. I have used market replay with speed x500 on a single chart for ES 03-15.

            As you can see, the Connors RSI does take a little toll on the CPU during the news release and at the open of the regular session. But half of that CPU load is created by NinjaTrader itself. Let us say that it takes 30% of one of the 4 kernels of my CPU (Xeon comparable to i7) at speed x500, when referring to peaks only. Then it should not take more than 0.1 percent of the CPU capacity when used at normal speed.

            That means that it should work, if you do not put more than 100 Connors RSIs in your active workspace at the same time.

            Actually the code for finding the rank is pretty simple:

            Code:
            rank = 0.0;
                        for (int i = 1; i <= barsAgo; i++)
                            if(rateOfChange[0] > rateOfChange[i])
                                rank = rank + 1.0;
                        percentRank = 100*rank/barsAgo;
            which explains that the CPU does not get excited.
            Attached Files

            Comment


              #7
              I converted the code...a version is available on the NT downloads

              Comment


                #8
                Originally posted by photog53 View Post
                I converted the code...a version is available on the NT downloads
                Actually, you have not converted the code, but just copied my version of the Connors RSI, and then renamed a few variables. I don't mind that you copy my code, but you should not pretend to have the indicator converted to NT7.


                Comparison:


                Code I published open source July 26th, 2013: https://www.bigmiketrading.com/elite...tml#post346767

                Code:
                if(CurrentBar < 1)
                {
                   streak.Set(0);
                   ConnorsRSI.Set(50.0);
                   return;
                }    
                barsAgo = Math.Min(rankPeriod, CurrentBar);
                rank = 0.0;
                for (int i = 1; i <= barsAgo; i++)
                if(rateOfChange[0] > rateOfChange[i])
                      rank = rank + 1.0;
                percentRank = 100*rank/barsAgo;
                if(Input[0] > Input[1])
                      streak.Set(streak[1] < 0.5 ? 1.0 : streak[1] + 1.0);
                else if (Input[0] < Input[1])
                      streak.Set(streak[1] > -0.5 ? -1.0 : streak[1] - 1.0);
                else
                      streak.Set(0.0);
                ConnorsRSI.Set((percentRank + streakRSI[0] + defaultRSI[0])/3.0);
                Copied indicator which was published today:

                Code:
                if(CurrentBar < 1)
                  {
                         ids_Consecutive.Set(0);
                         ConnorsRSI.Set(50.0);
                         return;
                  }    
                  barsAgo = Math.Min(rankLookBack, CurrentBar);
                  rank = 0.0;
                  for (int i = 1; i <= barsAgo; i++)
                  if(rateOfChange[0] > rateOfChange[i])
                     rank = rank + 1.0;
                  percentRank = 100*rank/barsAgo;
                  if(Input[0] > Input[1])
                      ids_Consecutive.Set(ids_Consecutive[1] < 0.5 ? 1.0 : ids_Consecutive[1] + 1.0);
                  else if (Input[0] < Input[1])
                      ids_Consecutive.Set(ids_Consecutive[1] > -0.5 ? -1.0 : ids_Consecutive[1] - 1.0);
                  else
                      ids_Consecutive.Set(0.0);
                  ConnorsRSI.Set((percentRank + clbRSI[0] + defaultRSI[0])/3.0);
                Only difference: A few variables were renamed. No value added.

                I have not put the indicator into the download section of any forum, because I have never contacted Connors Research to ask for permission. On the other hand they have published the formula and it is a good publicity for Larry Connors that we discuss his indicators here!

                But credit to whom credit belongs. Here is the link to Connors Investment:



                You can sign up for a free copy of "An Introduction to the Connors RSI".

                Just to be clear: I am not linked to Connors Research in any way, nor have I ever talked to them.
                Last edited by Harry; 02-01-2015, 02:14 PM.

                Comment


                  #9
                  This topic is going hot here
                  ninZa
                  NinjaTrader Ecosystem Vendor - ninZa.co

                  Comment


                    #10
                    Originally posted by ninZa View Post
                    This topic is going hot here
                    I also took it as a compliment. In the end he did not find anything to improve.

                    Comment


                      #11
                      Originally posted by Harry View Post
                      I also took it as a compliment. In the end he did not find anything to improve.
                      This means your code is optimal
                      Congrats Fat tails lol.
                      ninZa
                      NinjaTrader Ecosystem Vendor - ninZa.co

                      Comment


                        #12
                        Harry....when converting the original code of a relatively simple indicator, when everyone is using the same source...OF COURSE the end results look much the same. Stop the self promotion and name calling.

                        Comment


                          #13
                          Originally posted by photog53 View Post
                          Harry....when converting the original code of a relatively simple indicator, when everyone is using the same source...OF COURSE the end results look much the same. Stop the self promotion and name calling.
                          The way I have coded the indicator is rather unusual. You have not even bothered to change a single line of my code or the order of the variables ...

                          If you publish the indicator here in the download section, please refer to the website of Connors Research (www.tradingmarkets.com) and further refer to the source for the NinjaTrader code, as you have entirely copied it. That said, I am not against your publishing the indicator here. Referring to the source - that is Connors Research - would just be fair.
                          Last edited by Harry; 02-04-2015, 10:47 AM.

                          Comment


                            #14
                            Ok....clearly I have taken this thread down a path that is neither helpful to the Ninja Support Forum, nor is it doing me or Harry any good. Harry aka "fattails" is an excellent coder...(true statement...no sarcasm intended). I have in fact learned a few tips and ideas from him.
                            The point of this thread was to get a piece of open domain software into the hands of a Ninja Trader member who needed it. The source code for this is fairly straight forward and I stand by my assertion that C# translations on simple code can/and do sometimes come out looking the same....in much the same way researchers sometimes do the same work in completely different locations. Instead of saying what is what I thought....which is that basically good C# code sometimes comes out the same....I took the lower road and snapped back a snarky reply. I apologize for my snarky tone....I am embarrassed that I let a comment cause me to contribute to sidetracking a helpful forum.

                            Comment


                              #15
                              Hello
                              Can you share an e-mail address of Fattails with me ? I need to have questions answered on the ANA TSI Indicator.
                              Thank You
                              Bill

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by f.saeidi, Today, 05:56 AM
                              1 response
                              3 views
                              0 likes
                              Last Post Jltarrau  
                              Started by Jltarrau, Today, 05:57 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post Jltarrau  
                              Started by Stanfillirenfro, Yesterday, 09:19 AM
                              7 responses
                              51 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by TraderCro, 04-12-2024, 11:36 AM
                              4 responses
                              70 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Mindset, Yesterday, 02:04 AM
                              1 response
                              15 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X