Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing strategy error

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

    Importing strategy error

    I have a strategy that was specifically built for NT8. But when I try to import it tells me it is for an older version of NT. Is there a way to resolve this issue?

    #2
    Hello JTizz,

    That could mean that the strategy was exported from a much older version or that the zip file was invalid. You can manually import the file, you need to extract the zip.

    Inside the zip there should be folders and files for what you are trying to import. You don't need the info.xml or AdditionalReferences.txt files. You would need any other files in the zip, those can be places in the appropriate folders: documents/NinjaTrader 8/bin/Custom/
    After doing this you can use the NinjaScript editor to compile and check for errors.

    Comment


      #3
      These are the files I have; attached Click image for larger version

Name:	files.jpg
Views:	213
Size:	16.8 KB
ID:	1207044Would I need to copy and paste the compressed zip, and place it in, bin,custom,strategies ?

      Comment


        #4
        Would I need to open this file? Click image for larger version

Name:	files 2.jpg
Views:	206
Size:	6.6 KB
ID:	1207048 then copy and paste indicators in indicators and strategy in strategy? Thx

        Comment


          #5
          Hello JTizz,

          From the images it looks like zip that has strategies and indicators, the files would need unzipped to the documents/NinjaTrader 8/bin/Custom folders..

          You can view the existing folders to see how indicators are imported into th folder. The items in the zip would be in the same situation.



          Comment


            #6
            '}' How is this error resolved. Click image for larger version

Name:	error 7-1-22.jpg
Views:	208
Size:	40.3 KB
ID:	1207288

            Comment


              #7
              Hello JTizz,

              That would indicate that the file is not complete, some code is missing.

              The error specifically mentions that you need to add one more } at the end of the file, if hat is no the solution then the file is not complete or is no correct.

              Comment


                #8
                These are instructions for manually importing into strategy folder. When I copy and paste the file nothing goes into the strategy folder. What am I doing wrong? Thx Click image for larger version

Name:	manual strat.jpg
Views:	141
Size:	66.2 KB
ID:	1207622
                Attached Files

                Comment


                  #9
                  I copy then paste into strategy folder, but nothing appears in the strategy folder. Click image for larger version

Name:	c# souces file.jpg
Views:	187
Size:	10.6 KB
ID:	1207624Click image for larger version

Name:	c# souces file.jpg
Views:	130
Size:	10.6 KB
ID:	1207625

                  Comment


                    #10
                    Hello JTizz,

                    If you are manually adding files you need to also use the NinjaScript editor to compile and check for errors. If the file could not be imported there is a good chance that you will get errors when manually importing it as well.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, 03-13-2026, 05:17 AM
                    0 responses
                    86 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    151 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    79 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    53 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    60 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X