Please see attached picture.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem with secure export of indicator
Collapse
X
-
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.Tags: None
-
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.
-BrettBrettNinjaTrader Product Management
-
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.Originally posted by NinjaTrader_Brett View PostHello,
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
Comment
-
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?Originally posted by NinjaTrader_Brett View PostWould not expect that. If the fresh PC does not have any indicators installed correct?
-Brett
Comment
-
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?
-BrettBrettNinjaTrader Product Management
Comment
-
Yes, I can see some of my indicators there. Shall I remove them?Originally posted by NinjaTrader_Brett View PostHello,
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
Comment
-
I removed the files and now I got another error, see attached file.Originally posted by NinjaTrader_Brett View PostYes, if they don't pertain to the indicator you are trying to export.
Essentially you can have no DLL's installed from your export machine otherwise you will get that warning.
-Brett
Sigh..
Comment
-
Hello,
Looks like when you removed you now have a compile error.
Please follow the instructions below to see where the errors are coming from after compiling the indicator. 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 what errors are listed here or take a screenshot. To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.BrettNinjaTrader Product Management
Comment
-
Looks like you are deleting them menaully which then doesnt complete the second step needed to fully remove.
Most likely you imported a backup file from your main PC on this computer at some point in time also as the config file contains all your references.
Please go to the code editor for any indicator->right click->references.
Remove out the references listed in the errors.
Also, to have a clean install, there should be no references here other then System references and Wilson.OR.Mapper and NinjaTrader references.
-BrettBrettNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment