Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem importing NinjaScript

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

    Problem importing NinjaScript

    Hi,

    Have a problem importing a NinjaScript. I had it working on V6.5 fine, upgraded to V7.0 and had to get a new file from the code writer. So, I try to import it into V7 and it comes up with the following message....

    Import failed. The NinjaScript file may contain method names that already exist on your PC or there is a required fule missing on either your PC or in the import archive.

    Any ideas ?

    Some file remains left from 6.5 or something stopping this import into v7 ?

    Attached is screenshot of the error message.

    Hope someone can help me. Thanks.
    Attached Files

    #2
    Without seeing the code, that one may be impossible to resolve. It almost sounds as if a method in the file has been declared as public.

    Comment


      #3
      First step would be ensuring your present files are in compilable state, to test open any script and press F5 - does this work out with no issue?

      Next then please install the script from the author manually into the bin > custom > indicator folder and recompile your NinjaScripts then again - would you now see the offending method listed at the bottom and can take care.
      BertrandNinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Bertrand View Post
        First step would be ensuring your present files are in compilable state, to test open any script and press F5 - does this work out with no issue?

        Next then please install the script from the author manually into the bin > custom > indicator folder and recompile your NinjaScripts then again - would you now see the offending method listed at the bottom and can take care.

        OK: Thanks.

        Sorry though, I am complete Newbie.

        How do I open any script ?

        How do I install from the author manually ? What do I install ?

        How do I recompile the NinjaScripts ?

        Comment


          #5
          Sorry though, I am complete Newbie.
          > no worries

          How do I open any script ?
          > please go to Tools > Edit NinjaScript > Indicator and pick any one

          How do I install from the author manually ? What do I install ?
          > manual install means the 'raw' cs type file will need to be copied into the MyDocuments > NinjaTrader 7 > bin > custom > indicator folder...then follow as below

          How do I recompile the NinjaScripts ?
          > with a script open press F5 in the NinjaScript editor, NinjaTrader will compile all your files all the time, as alll are put into one dll file for runtime use to ensure highest possible performance

          Thanks,
          BertrandNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Bertrand View Post
            Next then please install the script from the author manually into the bin > custom > indicator folder and recompile your NinjaScripts then again
            Just for your information, I just looked at this, and there is no "indicator folder" inside the "custom" folder.. Inside bin>custom there are only two folders, Backup and Snippet

            ?

            Maybe part of the problem ?

            Comment


              #7
              Then you're not looking into the correct parent folder - this is not in the install folder on C: - but in the user data directory, the MyDocuments in Windows.
              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CortexZenUSA, Today, 12:53 AM
              0 responses
              1 view
              0 likes
              Last Post CortexZenUSA  
              Started by CortexZenUSA, Today, 12:46 AM
              0 responses
              1 view
              0 likes
              Last Post CortexZenUSA  
              Started by usazencortex, Today, 12:43 AM
              0 responses
              5 views
              0 likes
              Last Post usazencortex  
              Started by sidlercom80, 10-28-2023, 08:49 AM
              168 responses
              2,266 views
              0 likes
              Last Post sidlercom80  
              Started by Barry Milan, Yesterday, 10:35 PM
              3 responses
              13 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Working...
              X