NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Installation and Licensing

Installation and Licensing Support for installation and licensing of NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 10-26-2009, 09:14 PM   #1
satbirm
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default can't install indicator, am getting this msg

'you have custom ninjascript files on your pc which have programming errors. These errors must be resolved before you can import a Ninjascript Archive file'.

What should i do ? everything is working fine, i have installed a few indicators, did not receive any errors while installing them or while using them ?

Am also getting a similar msg (remove instead of import) when trying to use the file-utilities-remove ninjascript' menu to try and remove some of the indiators..

Thanks,
Satbir
Last edited by satbirm; 10-26-2009 at 09:16 PM. Reason: more info
satbirm is offline  
Reply With Quote
Old 10-26-2009, 09:22 PM   #2
satbirm
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default

and now when trying to upgrade to the latest version (15), it says,

Error - unable to load custom assembly. Original version has been restored. You need to recompile your custom ninjascript files. Pls restart Ninjatrader.

I had trial of some indicators which has lapsed - i did remove them but am wondering if there is something lingering that is causing issues ?

I have also bought some indicators which are actively licensed from Bluewave traidng (ninjatrader approved vendor), don't think those should be causing any issues..

Thanks,
Satbir
satbirm is offline  
Reply With Quote
Old 10-27-2009, 03:00 AM   #3
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Hello Satbir,

The error indicates your current NinjaScript files contain errors, which need to resolved first before you can import new NinjaScript files or install the latest version.

Please follow the instructions below to see where the errors are coming from after compiling any indicator or strategy. This will allow you to debug the indicator/ strategy or remove it from your PC. If you’re wondering why you receive an error when compiling only one indicator or strategy, it is because NinjaTrader compiles all indicators and strategies. Not just one.

1) Open NinjaTrader
2) From the Control Center -> Tools -> Edit NinjaScript -> Indicator
3) Select an indicator and double click on it.
4) A new window will appear and you will need to right click and compile the indicator.
5) At the bottom of the window a new section will appear were you can find the error locations. Double click the error and you will be directed to the location of the error.
6) From there you have the option to remove the indicator or debug it. You can delete NinjaScript files via Tools-->Edit NinjaScript-->Indicator/Strategy, highlight it and select Delete

You can find general debug information at the link below.
http://www.ninjatrader-support2.com/...ead.php?t=3418

In addition, you can try the following workaround as well. Note that you will lose all custom and third party NinjaScript files.

Create a backup file with 'NinjaScript files' unchecked(!).
http://www.ninjatrader-support.com/H...upArchive.html

Uninstall NinjaTrader via the Windows Control Panel-->Add/Remove Programs (XP), Programs and Features (Vista).

Delete the My Documents-->NinjaTrader 6.5 folder. Do not delete the NinjaTrader backup folder(!).

Clear your browser cache and download and install NinjaTrader 6.5 at the link below.
http://www.ninjatrader.com/webnew/download_download.htm

Restore your settings and you should be able to import new NinjaScript files again.
NinjaTrader_Jason is offline  
Reply With Quote
Old 10-27-2009, 05:57 AM   #4
satbirm
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks, i was able to follow these instructions and re-compile the .cs file for a indicator as per the error code debug help instructions. That seems to have resolved the error.
satbirm is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No indicator library after install watchhillian Version 7 Beta General Questions & Bug Reports 5 10-05-2009 12:33 PM
How to load/install a *.cs file (indicator)? gannman Miscellaneous Support 1 09-04-2009 02:40 AM
Error Msg pistolpete Connecting 1 02-25-2009 08:43 AM
Error msg latkinso General Programming 1 11-26-2008 02:37 PM
Can't install ntns indicator file. infotrader NinjaScript File Sharing Discussion 4 02-01-2008 07:34 AM


All times are GMT -6. The time now is 04:45 PM.