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

Conversion Request: Tape / tight trend lines

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

    Conversion Request: Tape / tight trend lines

    This is stolen from ET and is in EasyLanguage.

    Anyone here willing to convert to NT? I think is quite useful.



    Attached Files

    #2
    Anyone?

    Elliot / roonius ?

    Comment


      #3
      I'm clueless with EL. The only reason I can convert anything any all is because MQL code is almost identical to NinjaScript.

      The indicator does look interesting though.

      Comment


        #4
        Enjoy,
        I just removed time settings, but they can be added back easy.
        Attached Files
        Last edited by roonius; 01-08-2009, 08:55 PM.

        Comment


          #5
          roonius,

          You're too awesome Thanks kindly.

          Comment


            #6
            Don't get me wrong, but isn't this indicator pretty useless without setting a certain span it should adapt to highs and lows?

            I'm still looking for a NT auto trendline indicator, which really does the job (channels etc.).

            Comment


              #7
              timokrates, did you check into this here -

              http://www.ninjatrader-support2.com/...tomatic&desc=1 (first listing, 'auto trendline detection' )
              BertrandNinjaTrader Customer Service

              Comment


                #8
                Thanks for the tip, bertrand.

                Yes I tested it, but it's not really what I'm looking for.
                It only draws lines on one side, so no channels, wedges etc.

                Grüße nach Hamburg!

                Comment


                  #9
                  Originally posted by ctrlbrk View Post
                  This is stolen from ET and is in EasyLanguage.

                  Anyone here willing to convert to NT? I think is quite useful.




                  The license is public, so I don't think you are stealing anything.

                  but you should retain the credit of the original author.
                  This is just common courtesy.


                  // Tape v1.0
                  // Author: TUMS
                  // Date: October 2008
                  // License: public domain
                  Last edited by ninjanew; 12-29-2009, 09:47 AM.

                  Comment


                    #10
                    Rootape for NT7

                    Has or can anyone convert this rootape indicator for NT7?
                    I am unable to import as is.
                    many thx
                    Last edited by dj22522; 12-04-2010, 03:20 PM.

                    Comment


                      #11
                      dj22522, if no one comes forward with a NT7 version, you can either do the conversion yourself or you can contact one of our third party NinjaScript consultants.
                      AustinNinjaTrader Customer Service

                      Comment


                        #12
                        Thx NT Austin for the reply.

                        How can I convert this to NT7 myself ?
                        thx

                        Comment


                          #13
                          Hello dj22522,

                          For help getting this into NinjaTrader 7, please see the following link then Migrating NinjaScript files section:
                          Ryan M.NinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by NinjaTrader_RyanM View Post
                            Hello dj22522,

                            For help getting this into NinjaTrader 7, please see the following link then Migrating NinjaScript files section:
                            http://www.ninjatrader.com/migration-guide-v7.php
                            thx but no joy having followed the instructions.
                            I copied the source file from NT6.5 to NT7 but the cs file will not compile.

                            There error is identical for each of four lines:
                            line 52 column 6,
                            line 53,column 6
                            line 59 column 7
                            line 60 column 7

                            The error description for each of the above lines is:
                            "No overload for mehtod "Draw Line" takes 8 arguments."

                            and here are the 4 lines, in bold.

                            Any help appreciated.

                            DrawLine(CurrentBar.ToString(),2,Low[2],2,Low[1]+slope,TapeColor,DashStyle.Solid,1);
                            DrawLine(CurrentBar.ToString()+"Par",2,Low[2]+tapewidth,0,Low[1]+tapewidth+slope,TapeColor,DashStyle.Solid,1);


                            } else
                            if (Low[1]<Low[2])
                            {
                            slope = High[2]-High[1];
                            DrawLine(CurrentBar.ToString(),2,High[2],0,High[1]-slope,TapeColor,DashStyle.Solid,1);
                            DrawLine(CurrentBar.ToString()+"Par",2,High[2]-tapewidth,0,High[1]-tapewidth-slope,TapeColor,DashStyle.Solid,1);



                            Last edited by dj22522; 12-12-2010, 02:05 PM.

                            Comment


                              #15
                              You likely just need to add autoscale parameter for DrawLine()


                              DrawLine(CurrentBar.ToString(), true, 2,Low[2],2,Low[1]+slope,TapeColor,DashStyle.Solid,1);
                              DrawLine(CurrentBar.ToString()+"Par", true, 2,Low[2]+tapewidth,0,Low[1]+tapewidth+slope,TapeColor,DashStyle.Solid,1);
                              Ryan M.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by andrewtrades, Today, 04:57 PM
                              1 response
                              4 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by chbruno, Today, 04:10 PM
                              0 responses
                              3 views
                              0 likes
                              Last Post chbruno
                              by chbruno
                               
                              Started by josh18955, 03-25-2023, 11:16 AM
                              6 responses
                              436 views
                              0 likes
                              Last Post Delerium  
                              Started by FAQtrader, Today, 03:35 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post FAQtrader  
                              Started by rocketman7, Today, 09:41 AM
                              5 responses
                              19 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Working...
                              X