• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help selecion of symbols to display advance / decline

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

    Help selecion of symbols to display advance / decline

    Hi I need help to get this line indicator advance / decline fucnione properly.


    Tienpo kinetick real as I have connected data.


    I have to modify symbols in Misc, I have to modify the symbols in the code scrip?, Please kinetick symbols and exactly to where I have to change?.

    Shipping the Ninja Scrip code

    Thank you very much.
    Attached Files
    Last edited by optimuss; 07-21-2013, 02:58 PM.

    #2
    Hello optimuss,

    Thank you for your post.

    There is no need to edit the code here or the symbol mapping. Please check the Log tab of your NinjaTrader Control Center for errors when attempting to load the ^ADV or ^DECL. What do these errors report?

    I look forward to your response.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your help Patrikh, nothing appears, insert indicator and everything is white, no error in LOG.

      Shipping LOG file.

      Please help, I've been all day trying to open this indicator without success.
      Attached Files

      Comment


        #4
        Hello optimuss,

        Thank you for your response.

        What period type are you applying to the chart? Kinetick EOD Free only supports Daily based periods (Day, Week, Month, and Year), so no intra-day periods are supported (tick and minute based periods).
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Hello, on a daily basis.

          Comment


            #6
            Hello optimuss,

            Thank you for your response.

            Can you attach a screenshot of your chart that is blank to your response?

            I look forward to assisting you further.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              ok, here is the shipping.

              Thank you.
              Attached Files

              Comment


                #8
                Hello optimuss,

                Thank you for your response.

                I was incorrect, this is in fact related to the script. The BarsPeriod object cannot be accessed in the Initialize() method. If you change the add lines in your code to the following you will see that the plot is correct:
                Code:
                			Add("^ADV", PeriodType.Day, 1);
                			Add("^DECL", PeriodType.Day, 1);
                For information on dynamically adding new bar series based on the primary bar series please visit the following link: http://www.ninjatrader.com/support/f...ad.php?t=42749

                Please let me know if I may be of further assistance.
                Last edited by NinjaTrader_PatrickH; 07-22-2013, 10:53 AM.
                Patrick H.NinjaTrader Customer Service

                Comment


                  #9
                  Patrich Hello, thank you very much for your help.

                  I changed as you sugerirdo me, nor the charge indicator on the chart.
                  There is still something that is not properly configured.

                  Now in the LOG apararece the following error.


                  The indicator 'AdvanceDecline' has called the Add () method With An invalid instrument. Either '^ DECL' does not exist in the Instrument Manager or the specified exchange has not been configured.


                  What does this mean?
                  Last edited by optimuss; 07-22-2013, 07:13 AM.

                  Comment


                    #10
                    Hello optimuss,

                    Thank you for your response.

                    Please reset your instruments and restart NinjaTrader. To reset your instruments please: go to the Tools menu, select the Options menu item, select the Data tab, and then click on 'Reset Instruments'.

                    Please let me know if this resolves the matter.
                    Patrick H.NinjaTrader Customer Service

                    Comment


                      #11
                      Patrickh Hello again, thank you very much for your help.

                      After reset the same mistakes instrumnetos continues Log.


                      The indicator 'AdvanceDecline' has called the Add () method With An invalid instrument. Either '^ DECL' does not exist in the Instrument Manager or the specified exchange has not been configured.
                      The indicator 'AdvanceDecline' has called the Add () method With An invalid instrument. Either '^ ADV' does not exist in the Instrument Manager or the specified exchange has not been configured.

                      What can we do, do not give up now.

                      Greetings.

                      Comment


                        #12
                        Hello optimuss,

                        Thank you for your response.

                        In your code it appears there is a space between the '^' and the index name. You need to remove the space in the instrument name string in the Add() methods.

                        Incorrect:
                        Code:
                        Add("^ ADV", PeriodType.Day, 1);
                        Add("^ DECL", PeriodType.Day, 1);
                        Correct:
                        Code:
                        Add("^ADV", PeriodType.Day, 1);
                        Add("^DECL", PeriodType.Day, 1);
                        Please let me know if I may be of further assistance.
                        Patrick H.NinjaTrader Customer Service

                        Comment


                          #13
                          Hello patrickh, very good, ers the best, now it works.

                          If you'd be closer invited to eat.

                          Thank you very much, I wish you a nice day, buddy.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Birdseye, Today, 04:52 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post Birdseye  
                          Started by U0000999, Today, 03:43 AM
                          0 responses
                          4 views
                          0 likes
                          Last Post U0000999  
                          Started by NinjaCustomer, Today, 03:22 AM
                          1 response
                          7 views
                          0 likes
                          Last Post NinjaTrader_Marco  
                          Started by MarianApalaghiei, Today, 01:26 AM
                          0 responses
                          9 views
                          0 likes
                          Last Post MarianApalaghiei  
                          Started by seagraph, Yesterday, 03:27 PM
                          0 responses
                          14 views
                          0 likes
                          Last Post seagraph  
                          Working...
                          X