NexusFi: Find Your Edge


Home Menu

 





Exported Strategy includes references to everything installed on my platform?


Discussion in NinjaTrader

Updated
    1. trending_up 1,890 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 angela d 
New York City, NY USA
 
Experience: Advanced
Platform: NinjaTrader
Trading: ES, ER
Posts: 27 since May 2015
Thanks Given: 10
Thanks Received: 28

I apologize if this is discussed elsewhere. I did a search and was unable to find it here.

When I go to export a NinjaTrader strategy, a dialog comes up with this text:
"please be aware that the exported NinjaScript Archive File can only be imported if the target PC has the following assembly(s) loaded:"

The list that follows is every commercial and many 3rd party indicators and strategies that I have installed on my platform. The strategy that I'm trying to export has nothing to do with any of that stuff.

I tried wiping the copy in the AdditionalReferences.txt file, but I experienced import errors trying to import the rezipped file. I also edited the AdditionalReferences.txt file without unzipping the original export zip and got the same errors.

How do I export a strategy that doesn't reference and require every stray scrap of code on my platform?

Thanks in advance.


Started this thread Reply With Quote

 
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


I think the reason is that you have those indicators referenced in some way or another...

You should :
- meticulously go through the strategy file and see what is referenced
- also look at any other referenced file which in turn may reference an indicator

As a proof, you can create a minimum strategy and see that this one will not
include all the indicators as mentioned.

Maybe you can post the screenshot of what you get ?

If you create a strategy with CCI & EMA
the result would be a zip file with the strategy, the CCI and the EMA
and dependencies if any


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 angela d 
New York City, NY USA
 
Experience: Advanced
Platform: NinjaTrader
Trading: ES, ER
Posts: 27 since May 2015
Thanks Given: 10
Thanks Received: 28

Hi rleplae,

Thanks so much for your reply. You've been really helpful and patient with answering my stupid newbie questions.

I didn't want to post the screenshot in public, so I was going to PM it to you--I didn't want to expose all of the third-party stuff that I have. But first I decided to create a fresh version of the same strategy from scratch and repeat the steps to export.

It would appear that the strategy with which I was having issues was corrupted. I had re-imported a few indicators and I was switching around what I was referencing. And I was doing all of this in the Strategy Wizard, not by hand. Somehow the strategy got attached to every single third party strategy and indicator that I have in my directories, some of which I'd completely forgotten that I had. Perhaps this is something that happens when using the Wizard when it throws off some errors.

Thanks again for your kind offer to help.

Best,
a


rleplae View Post
I think the reason is that you have those indicators referenced in some way or another...

You should :
- meticulously go through the strategy file and see what is referenced
- also look at any other referenced file which in turn may reference an indicator

As a proof, you can create a minimum strategy and see that this one will not
include all the indicators as mentioned.

Maybe you can post the screenshot of what you get ?

If you create a strategy with CCI & EMA
the result would be a zip file with the strategy, the CCI and the EMA
and dependencies if any


Started this thread Reply With Quote




Last Updated on May 21, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts