• 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

create a DataSeries NT8

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

    create a DataSeries NT8

    Good morning,
    in an attached word file "Example"where I put the code that use NT 7 to create a DataSeries.
    How do I do with NT8?
    Thank you.
    Roberto
    Attached Files

    #2
    Hello Italy, and thank you for your question.

    I am returning a copy of the document you attached with helpguide links to code breaking and other changes between NT7 and NT8, as well as examples which convert your NT7 code to NT8 code. Please let us know if there are any other ways we can help.
    Attached Files
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Thanks

      Thanks Jessica

      Comment


        #4
        create a DataSeries NT8 (Error)

        Jessica excuse,
        I did the steps you told me. In the attached file. Everything OK, except for the last line of code that gives error.
        Where did I go wrong ?
        Ciao .
        Roberto
        Attached Files

        Comment


          #5
          Thanks for your reply.
          Please send me your log and trace files so that I may look into what occurred.
          You can do this by going to the Control Center-> Help-> Mail to Platform Support.
          Ensure to check 'Database file' and ' Log and trace files'.
          Please reference the following ticket number in the body of the email: 1608181
          Jessica P.NinjaTrader Customer Service

          Comment


            #6
            Thank you Italy. It doesn't look like your log and trace files captured the error you were getting. Could you take a picture of the error you get?

            To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.
            Click here for instructions
            Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
            Click here for detailed instruction
            Jessica P.NinjaTrader Customer Service

            Comment


              #7
              attached the "Image" File
              Attached Files

              Comment


                #8
                Thank you Italy. I had made some bad assumptions from the way code was presented. If you try to call your original MAEDataSeries.Set code where you call the replacement I recommended, it, too, would cause an error. My intent was to show you a legal replacement that would work in places where your original code would work.

                To fix line 68, simply move it into your OnBarUpdate method.

                Please let us know if there are any other ways we can help.
                Jessica P.NinjaTrader Customer Service

                Comment


                  #9
                  Perfect

                  Perfect .
                  Thanks Jessica

                  Ciao.
                  Roberto

                  Comment


                    #10
                    create a DataSeries NT8 (continuation)

                    Hello Jessica,
                    I should make a new data series by NT7 to NT8.
                    It is to take the values of MFE (only trades Long).
                    Attached the screenshot of NT8 and a Work file.
                    Thank you.
                    Roberto
                    Attached Files

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by chartish, Today, 04:43 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post chartish  
                    Started by Trader17, Today, 04:07 PM
                    0 responses
                    4 views
                    0 likes
                    Last Post Trader17  
                    Started by GussJ, Today, 01:30 PM
                    2 responses
                    18 views
                    0 likes
                    Last Post GussJ
                    by GussJ
                     
                    Started by GARZONJ, Today, 12:25 PM
                    3 responses
                    17 views
                    0 likes
                    Last Post NinjaTrader_PaulH  
                    Started by RandanAL, Today, 11:53 AM
                    1 response
                    13 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Working...
                    X