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

Compile file Import error

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

    Compile file Import error

    Dear Fellow traders,

    I downloaded Ts_super trend from the indicators and as a open file it importing without error
    but same file compiling as dll file it is not importing and throwing error and even in new installation getting same error. can anyone help me in this regards

    file Attached

    Thanks
    Ram
    Attached Files

    #2
    Hello,
    Can you provide a link to where you are downloading this indicator?
    Are you importing it as a zip file?
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      find the link



      downloaded from above
      and yes imported as zip file only
      error
      "as import archive may contain duplicate method names that already exist on your pc or rquired file missing"

      may i know how to rectify the same issue

      Comment


        #4
        Hello,
        I am able to import this indicator successfully.
        Please verify that you do not have another version of this indicator installed.
        Cody B.NinjaTrader Customer Service

        Comment


          #5
          its not about the open file

          the downloaded file is getting imported perfectly but my question is when i converted to protected file its not importing

          Comment


            #6
            Hello,
            Do you have any other assemblies in your system when you are exporting?
            Cody B.NinjaTrader Customer Service

            Comment


              #7
              error as stated below

              i am getting following error even in new install in new pc


              "as import archive may contain duplicate method names that already exist on your pc or rquired file missing"

              Comment


                #8
                Hello,
                It is likely that in your installtion of NinjaTrader that you have other assemblies installed. When you export an assembly it will export the assembly in a manner the other assemblies that are installed in exporting NinjaTrader are required for the installation that is importing.
                You can workaround this by having a separate installation that is clean to export from.
                To create a clean installation to export your NinjaScript objects from please follow the instructions below:

                First go to Help > License Key and copy and paste your License Key into a text document
                Shut down NinjaTrader > uninstall NinjaTrader via Start > Control Panel > Programs and Features
                Then go to (My) Documents > rename the 'NinjaTrader 7' folder to 'NinjaTrader 7.Prev'.
                Then re-install from the following link: http://ninjatrader.com/GetStarted
                When you start NinjaTrader it will create a new directory in which you can move over any indicators or strategies you wish to export in this "clean" installation.

                To switch between the two installs; shut down NinjaTrader > rename the new installation to 'NinjaTrader 7.Dev' under (My) Documents > then rename the 'NinjaTrader 7.Prev' to 'NinjaTrader 7'.
                Cody B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Mindset, 05-06-2023, 09:03 PM
                9 responses
                258 views
                0 likes
                Last Post ender_wiggum  
                Started by Mizzouman1, Today, 07:35 AM
                4 responses
                18 views
                0 likes
                Last Post Mizzouman1  
                Started by philmg, Today, 01:17 PM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_ChristopherJ  
                Started by cre8able, Today, 01:01 PM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by manitshah915, Today, 12:59 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Erick  
                Working...
                X