Please see attached picture.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.
-Brett
-
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
-
Originally posted by NinjaTrader_Brett View PostWould not expect that. If the fresh PC does not have any indicators installed correct?
-Brett
Comment
-
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
-
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.
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.
-Brett
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mestor, 03-10-2023, 01:50 AM
|
12 responses
307 views
0 likes
|
Last Post
by z.franck
Today, 04:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
267 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
||
Started by Mestor, Today, 03:15 AM
|
0 responses
2 views
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
409 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
Comment