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 > NinjaScript Development Support > Indicator Development

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

Reply
 
Thread Tools Display Modes
Old 01-10-2012, 12:22 PM   #1
aediaz1
Member
 
Join Date: Mar 2009
Posts: 31
Thanks: 1
Thanked 0 times in 0 posts
Default Problem with secure export of indicator

I don't understand why I get this message up when I try to export just one indicator in "secure mode". I haven't installed the software for extra layer of security, I simply want to hide the code. Any comments are welcome.

Please see attached picture.
Attached Images
File Type: png Capture.PNG (31.6 KB, 10 views)
aediaz1 is offline  
Reply With Quote
Old 01-10-2012, 12:39 PM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thanks for the forum post.

When you export a protected DLL you have to do it from a clean install of NinjaTrader. Which means no unrelated secured DLL's installed.

Otherwise since NinjaTrader cannot tell what references the file you are exporting needs it assumes that all are there if it is needed.

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Old 01-10-2012, 12:53 PM   #3
aediaz1
Member
 
Join Date: Mar 2009
Posts: 31
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Brett View Post
Hello,

Thanks for the forum post.

When you export a protected DLL you have to do it from a clean install of NinjaTrader. Which means no unrelated secured DLL's installed.

Otherwise since NinjaTrader cannot tell what references the file you are exporting needs it assumes that all are there if it is needed.

-Brett
Thank you for the responds. I just tried it on a fresh installed computer and it says exactly the same. I don't understand why this happen nor how this simply task can be so hard.
aediaz1 is offline  
Reply With Quote
Old 01-10-2012, 01:07 PM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Would not expect that. If the fresh PC does not have any indicators installed correct?

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Old 01-10-2012, 01:09 PM   #5
aediaz1
Member
 
Join Date: Mar 2009
Posts: 31
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Brett View Post
Would not expect that. If the fresh PC does not have any indicators installed correct?

-Brett
I have of course installed the indicator I'm going to export. This is correct? Apart from that I have 1 simple indicator that has nothing to do with the indicator installed. Are you saying it could matter?
aediaz1 is offline  
Reply With Quote
Old 01-10-2012, 01:11 PM   #6
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

If you go to the control center->my documents->ninjatrader 7->bin->custom folder. Are there any DLL's there that are not NinjaTrader DLLs?

If you go to compile an indicator in the code window, right click on it and select references. Are there references added here?

-Brett
NinjaTrader_Brett 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
Export problem ETFVoyageur Indicator Development 40 02-01-2011 04:52 PM
Continuous Contract & Export Problem ChuckAllen Version 7 Beta General Questions & Bug Reports 5 06-14-2010 01:45 PM
Problem with Import/ Export Ninja Script kumaresh11 Strategy Development 2 01-22-2010 02:19 PM
Problem with Import/ Export Ninja Script rcsingleton Indicator Development 6 12-19-2009 06:12 PM
Secure distribution of custom Indicators and Strategies ThePatientOne Indicator Development 7 02-22-2007 12:49 AM


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