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

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 gentlebenthebear, Today, 01:30 AM
                    1 response
                    8 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by Aviram Y, Today, 05:29 AM
                    2 responses
                    7 views
                    0 likes
                    Last Post Aviram Y  
                    Started by cls71, Today, 04:45 AM
                    1 response
                    7 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by TradeForge, Today, 02:09 AM
                    1 response
                    23 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by elirion, Today, 01:36 AM
                    2 responses
                    14 views
                    0 likes
                    Last Post elirion
                    by elirion
                     
                    Working...
                    X