NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 02-13-2009, 11:59 AM   #1
adam6540
Junior Member
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default cant load any ninja script files

Hello. I am trying to load some ninja script files from this website I get an error while I try to load the file using ninja import script. I get a warning that says " you have custom ninja script files on your PC that have programming erros. These errors must be resolved before you can import a ninjascript archive file..." Can i load ninja script files another way other than import them?. can I just copy paste the file to the custom directory?
any help is appreciated. btw I am using NT 6.5 on vista xp.
adam6540 is offline  
Reply With Quote
Old 02-13-2009, 12:25 PM   #2
NinjaTrader_Michael
NinjaTrader Customer Service
 
NinjaTrader_Michael's Avatar
 
Join Date: Jun 2008
Location: Denver, CO
Posts: 429
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi Adam,



Please follow the instructions below to see where the errors are coming from after compiling the indicator as these errors will need to be resolved regardless of how they are added. 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 compiles all indicators and strategies- not just one.


• Open NinjaTrader
• From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
• Select an indicator and double click on it.
• 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 were you can find the error locations.
• From there you have the option to remove the indicator or debug it.
Let me know if this does the trick for you.
NinjaTrader_Michael is offline  
Reply With Quote
Old 02-14-2009, 07:43 PM   #3
Bud_Fox
Junior Member
 
Join Date: Feb 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
Default

I get the same error, This is one hell of a buggy software. I can get to the compile part then I get a F**cked up error message about a namespace error that has nothing to do with file I'm dealing with. It's error CS0101.
Bud_Fox is offline  
Reply With Quote
Old 02-14-2009, 10:44 PM   #4
Bud_Fox
Junior Member
 
Join Date: Feb 2009
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
Default

I figured it out...Can't have any instances(copies) anywhere NT directories.
Bud_Fox is offline  
Reply With Quote
Old 02-15-2009, 01:12 AM   #5
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,420
Thanks: 252
Thanked 981 times in 963 posts
Default

Hi Bud_Fox, great you got it!

When you hit compile it will alwyas compile ALL your NinjaScript files, so there could be nothing wrong with the currently open file, but in another one present in your library.

This is done because we create one final assembly file for maximum performance.

You can easily double click on each error and see in which file it was found, if you don't have time to debug it then, just comment out the whole script.
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 02-13-2009, 12:43 PM   #6
adam6540
Junior Member
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

hello micheal.

I do not get the edit ninjascript menu from the tools drop down.
all i get is instrument manager, historical data, account connections,
and options.. I have the free version if that makes a difference.
adam6540 is offline  
Reply With Quote
Old 02-13-2009, 12:51 PM   #7
NinjaTrader_Michael
NinjaTrader Customer Service
 
NinjaTrader_Michael's Avatar
 
Join Date: Jun 2008
Location: Denver, CO
Posts: 429
Thanks: 0
Thanked 2 times in 2 posts
Default

Hello,


In this case you do not have the capability to use NinjaScript as you would need either a NinjaTrader free version license or a live trading license for full NT functionality.


Purchase Options - Single Broker
The best value when purchasing NinjaTrader is to select one of our lifetime purchase options. Alternatively you can also lease our software for a period of time that makes sense to you. We make purchasing NinjaTrader easy by providing you choice in how you access our software...choose a plan that suits you best!
• Lifetime license for a one time payment of $995
• Lifetime license for 4 easy monthly payments of $299
• Several flexible leasing options starting as low as $50 per month


Purchase Options - Multi Broker
The best value when purchasing NinjaTrader is to select one of our lifetime purchase options. Alternatively, you can also lease our software for a period of time that makes sense to you. We make purchasing NinjaTrader easy by providing you choice in how you access our software...choose a plan that suits you best!
• Lifetime license for a one time payment of $1,495
• Lifetime license for 4 easy monthly payments of $449
• Several flexible leasing options starting as low as $75 per month


Let me know if you have further questions.
NinjaTrader_Michael 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
Loading script files from subdirectories? RandyT General Programming 2 10-26-2008 04:07 AM
Can Ninja script print into Ninja Log/Trace file? maxima General Programming 2 05-24-2008 04:48 PM
Ninja Trader to read Tradestation files Easy Langauge akwonline Historical NinjaTrader 6.5 Beta Threads 2 03-12-2008 05:14 PM
Ninja 6.5 slow tro load and crashes PeterBrazel Miscellaneous Support 5 03-06-2008 10:25 PM
Ninja Not Working on Backed Up Files Please Help! dandxg Connecting 6 03-01-2007 02:35 PM


All times are GMT -6. The time now is 08:17 AM.