![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
I just purchased RemotSoft's Protector to protect my custom strategy. However, after the export which seems to work just fine, I can't figure out how to "install" it on another computer.
I am trying to Import the strategy from File>Utilities>Import. I select the zip file that was created, but the import says there are no files in the archive. What am I doing wrong here? Do I need to create a generic strategy that uses the reference to my assembly? Thanks, -Scott By the way, thanks for working out special pricing for the Protector. That's a huge savings... |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Let's make sure we are on the same page:
- you created an export archive which definitely held at least 1 custom (!) indicator and/or strategy - you then transfered this archive to a different machine - as you there tried to import the archive it gave error below? Note: import on the same machine does nothing since indicators/strategy already is there
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
Ahh, maybe that's my problem. I exported the custom strategy using a different name than the original. Then I tried to import it on *the same* machine - then got the error that there were no files in the archive.
I can see my custom DLL in the archive file, but it is the only file in it. Does it know that it's already there even though I exported the strategy as a different name? -Scott |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Not sure I follow: You can not export the strategy at a different name. The name you provide on export is the name of the hosting assembly but not of the startegy (strategy name is maintained).
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
That's probably it then. If the steps I am taking to import the strategy are correct, then I will try on a different machine.
Thanks for the quick help... -Scott |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
You're welcome.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
Dierk,
I tried installing my strategy on a new machine. I got the exact same error - "The NinjaScript Archive File does not contain any NinjaScript files" Why is this not working? Please walk me through the steps to import a compiled Strategy assembly onto another machine. Thanks, -Scott |
|
|
|
|
|
#8 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please mail your export archive to "christian AT ninjatrader DOT com" and reference this post.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
NinjaTrader Development
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
|
Hi CashCache !
Unfortunately there was an bug introduced, which doesn't allow the import of "strategy-only" export assemblies, exported with NT6.5B5 or later. The bug is fixed and the fix will be available in the next beta of NT6.5. In the meantime we recommend as workaround, to create and empty indicator (e.g. 'VoidInd') and include this to your export archive on export. This works on import. Sorry for the inconvenience, Christian
Christian
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
Christian,
That did the trick. Thanks for the workaround!! -Scott |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove Ninjascript Assembly | ATI user | Historical NinjaTrader 6.5 Beta Threads | 1 | 12-29-2007 08:34 AM |
| Unable to retrieve infos from assembly.. | newbouldm | Miscellaneous Support | 5 | 11-22-2007 04:05 AM |
| Importing .csv files | buderim | Miscellaneous Support | 1 | 07-10-2007 10:19 PM |
| importing variables from .txt | sandro | Indicator Development | 1 | 05-15-2007 06:59 AM |
| importing | bohurst | Suggestions And Feedback | 1 | 04-14-2005 06:13 PM |