I am getting a warning or error when I import per the Installation process. What do I do?

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

Solution: To fix the problem you need remove the script with errors. If you installed any indicators off the internet, please try remove it/them and then try again to import the file. If you can't locate the indicator with problems, try following the instructions provided by / below from NinjaTrader Support Team.

NINJA INSTRUCTIONS TO FIX SCRIPT ERRORS

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.

We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/forum/showthread.php?t=4678 If you continue to receive this error even after following this tip, please write to us via our Online Support Form http://ninjatrader.com/ContactUs >> Click the big green button and fill out the form.