PDA

View Full Version : You have custom NinjaScript files on your PC...



KenPerales
05-20-2016,
When I try to import a custom indicator zip file, I get the following error: "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."

When I go to Tools to select Edit NinjaScript to compile, that option is not there for me. Can you help me get that feature?

I just installed the latest version of NInjaTrader, but that didn't fix anything.

KHeyes
05-22-2016,
Please redo your post, blanking out your license key. You do not want anyone else using it because it would look like you are logging in simultaneously from 2 computers and violating your NT license.

Kerthpn
05-23-2016,
Thanks, but you quoted my original post, so can you please edit yours now to remove it from there as well?

kiniIntuick
05-23-2016,
No problem. Thanks again!

kmalyvzm52
05-25-2016,
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.