• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import Failed

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

  • jking556
    started a topic Import Failed

    Import Failed

    I want to import this indicator but when I try importing I get a error msg "Import Failed.The NinjaScript Archive file may contain duplicate method names that already exit on your pc or there is required file missing on either your pc or in the import archive".

    Please could you help, it would be appreciated?

    Attached is the indicator im trying to import.
    Attached Files

  • NinjaTrader_ZachS
    replied
    Hello jking556,

    Thank you for your post and welcome to the forum.

    We first need to figure out where the errors are come from. We will do this by compiling your indicators.

    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

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by digibob, Today, 01:13 AM
0 responses
2 views
0 likes
Last Post digibob
by digibob
 
Started by kemoleena, Today, 12:31 AM
0 responses
5 views
0 likes
Last Post kemoleena  
Started by aligator, 09-18-2019, 12:15 PM
12 responses
104 views
0 likes
Last Post Lancer
by Lancer
 
Started by StevenNelson, Yesterday, 05:45 PM
0 responses
7 views
0 likes
Last Post StevenNelson  
Started by calebsandfort, Yesterday, 05:16 PM
1 response
7 views
0 likes
Last Post calebsandfort  
Working...
X