Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error message on importing Ninja script?

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

    error message on importing Ninja script?

    "You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File."

    How can I clean this up? Thanks.

    #2
    Hello rcollen,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select any indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window a new section will appear where you can find the error locations.
    • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

    If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable.


    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.


    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678
    Zach S.NinjaTrader Customer Service

    Comment


      #3
      I keep getting a Import Failed ...Import NinjaScript Archive File (.zip) Error...Says I may have a duplicate name - I checked and did not see any duplicates or there is a file missing - there is no problem with compiling - Thanks

      Comment


        #4
        Hello PanamaJack,

        Likely the file you are attempting to import is a protected assembly and it was exported from an installation that has other protected assemblies. You can send us a note to look into further or ask the third party who provided the file to export it from a clean installation with no other third party assemblies installed.

        You can send a note to us at platformsupport[at]ninjatrader[dot]com.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        106 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        54 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        36 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        38 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        74 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X