NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 07-10-2009, 09:18 AM   #1
rcsingleton
Senior Member
 
Join Date: Jan 2008
Posts: 127
Thanks: 8
Thanked 1 time in 1 post
Send a message via Skype™ to rcsingleton
Question Problem with Import/ Export Ninja Script

Hello.

When I try to either import or export a NinjaScript archive file, I get the following message,

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

How do I find out what files its choking on?

Regards,
R. C.
rcsingleton is offline  
Reply With Quote
Old 07-10-2009, 09:23 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

R.C.,

Please go to Tools -> Edit NinjaScript and open any file in the NinjaScript Editor. Then press F5 to compile. Any errors will show up in a list on the bottom and these need to be addressed first.
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-10-2009, 09:38 AM   #3
rcsingleton
Senior Member
 
Join Date: Jan 2008
Posts: 127
Thanks: 8
Thanked 1 time in 1 post
Send a message via Skype™ to rcsingleton
Question This is the error

Thanks for the quick response.

When I attempt to compile an indicator, this is the message ..

"NinjaScript File = Indicator\@ADL.cs

Error = The type 'System.Web.Services.Protocols.SoapHttpClientProto col' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services. Version=2.0.0.0. Culture=neutral, PublicKey Token = some hex stuff

Code = CS0012

How do I add this reference?

Regards,
R. C.
rcsingleton is offline  
Reply With Quote
Old 07-10-2009, 09:40 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

NinjaScript Editor -> right click -> References -> Add

File would likely be in C:\Windows\Microsoft.NET\Framework\v2.0.50727\
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-10-2009, 09:52 AM   #5
rcsingleton
Senior Member
 
Join Date: Jan 2008
Posts: 127
Thanks: 8
Thanked 1 time in 1 post
Send a message via Skype™ to rcsingleton
Default That solved it!

Thanks for the help,
R. C.
rcsingleton is offline  
Reply With Quote
Old 12-19-2009, 05:40 PM   #6
kcbnyc
Junior Member
 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Finally! I found a solution!

Thanks Josh! You don't know how long I've search for the solution to this error. Don't know why it happens. Do you?
kcbnyc is offline  
Reply With Quote
Old 12-19-2009, 06:12 PM   #7
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

I am sorry this is beyond our level of support.
NinjaTrader_Ben 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
Import/Export ninjaScript MrBaffalo Miscellaneous Support 7 10-18-2010 07:19 AM
Import Ninja Script Error Trader494 Miscellaneous Support 2 06-28-2009 05:03 PM
Indicator export/import broken delta88 Miscellaneous Support 38 05-19-2009 04:44 PM
historical data export /import franko Miscellaneous Support 1 11-16-2008 12:58 PM
import/export historical data ATI user Miscellaneous Support 11 04-17-2008 10:39 AM


All times are GMT -6. The time now is 07:36 AM.