NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 11-10-2009, 02:24 AM   #1
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default Problem exporting strategies and indicators

I have some indicators and strategies which I export in mode "source file" and I don't have problem. But the same indicators and strategies when I export like "compiled assembly" I have continuously problems and error message ("Import failed. The existing NinjaScript file.."). And I have uninstalled NT and reinstalled again and the message corresponds to another indicator totally different. I need protect my code because I don't want to send the source code to my customers. What can I do, please?
soyjesus is offline  
Reply With Quote
Old 11-10-2009, 04:05 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

soyjesus, have you looked already into this link for Export problems of this kind?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-10-2009, 04:23 AM   #3
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
soyjesus, have you looked already into this link for Export problems of this kind?
Yes Bertrand, but my problem is that I can't export my strategies in mode "assembly" only. I don't have problems when I try to export in mode "source code". And the question is that the message reference to another indicator totally different (and this indicator have been deleted and uninstalled from the computer..¿...?).
soyjesus is offline  
Reply With Quote
Old 11-10-2009, 06:52 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

soyjesus, if possible I would recommend this in a clean install with just this strategy that you would like to exported in 'assembly' mode. In addition, if this is due to potential .NET referencing issues, I would go with a clean .NET install as well to iron out this source.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-10-2009, 08:48 AM   #5
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default

Ok, Bertrand. If I have understood correctly, I must to run a program "cleaner" that clean the register of Windows?
soyjesus is offline  
Reply With Quote
Old 11-10-2009, 09:36 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

No, I was just referring to redoing the .NET framework install to iron out any potential corruption from this end...but I've just send you a reply to the note you sent to support, please check my reply and see if it helps.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-10-2009, 09:51 AM   #7
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default

Sorry Bertrand, but I can't find this reply. Could you send it me again, please (jesusrubon@hotmail.es)? Thanks.
soyjesus is offline  
Reply With Quote
Old 11-10-2009, 10:19 AM   #8
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

No, I'm sorry : confused your case with a different one...

So, you're sure all files compile well and all needed DLL references are setup for the NinjaScript editor?

Are you including any @ system indicators in the export and get a 'duplicate methods' warning when trying to reimport?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-11-2009, 11:39 AM   #9
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default

Ok Bertrand, the has been solved. And now I have a strategy wich use a Indicator. When I export my estrategy in mode "assembly" an then import this strategy in a new computer I have seen that the indicator has been importe too but its code is "visible". And I need all components of my strategy must be "compiled" and not visibles for the end-user.
soyjesus is offline  
Reply With Quote
Old 11-11-2009, 11:59 AM   #10
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
Default

Sorry, sorry, I has confused. All is perfect now.
soyjesus 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
event handling between indicators and strategies cicondo General Programming 1 10-16-2008 09:48 AM
Exporting problem adrian General Programming 3 04-11-2008 03:51 PM
Adding Indicators to Strategies NinjaTrader_Josh Tips 0 09-06-2007 01:34 PM
NinjaScript Strategies vs Indicators whitmark General Programming 7 08-29-2007 02:55 PM
Backing up custom indicators and strategies? higler Miscellaneous Support 3 06-02-2007 02:03 PM


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