PDA

View Full Version : Error - Can't Import Script


Momentum
07-14-2007, 10:51 AM
I am trying to import a script written by someone elsebut I get an error.

I go to UTILITIES/ IMPORT NINJASCRIPT and get a warning about a trusted source, click OK and then I get a second warning: "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"

I click OK and am back to the Control centre and cannot do anything more.

I cannot see what is causing the error. When I delete the script from the PC, I still get the error. I have tried it on a second pc with the same results.

NinjaTrader_Ray
07-14-2007, 12:03 PM
- Start NinjaTrader
- Tools > Edit > NinjaScript (open any file)
- The NinjaScript Editor will open, press F5 to compile
- This will generate a list of errors at the bottom of the NinjaScript Editor
- Each error will be listed with the file name the error is in, you now need to fix these programming errors
- Double clicking on each error will open the file with the error in the NinjaScript Editor

whitmark
07-14-2007, 12:06 PM
Thanks Ray . . . I was able to assist Momentum using the same process you describe to find the errant indicator that was preventing the import. All fixed!

Regards,

Whitmark