NexusFi: Find Your Edge


Home Menu

 





additional references dll


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one timmyb with 20 posts (8 thanks)
    2. looks_two bukkan with 5 posts (5 thanks)
    3. looks_3 tarantino with 3 posts (1 thanks)
    4. looks_4 Big Mike with 2 posts (3 thanks)
      Best Posters
    1. looks_one Big Mike with 1.5 thanks per post
    2. looks_two bukkan with 1 thanks per post
    3. looks_3 timmyb with 0.4 thanks per post
    4. looks_4 tarantino with 0.3 thanks per post
    1. trending_up 15,098 views
    2. thumb_up 17 thanks given
    3. group 5 followers
    1. forum 34 posts
    2. attach_file 10 attachments




 
Search this Thread

additional references dll

  #1 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361

So I have delved into ninja farther than I ever thought. I managed to add custom gauges and graphs ect. So now i wanted to share it with a friend for testing and i realized it was quite the process to do. There are dll's etc that have to be installed and referenced. So i pulled up my sleeves and built my first installer to put these files where they need to be including the .cs for the indicator. But then I hit a roadblock to simplicity.

Once everything is done and installed you still have to open a ninjascript and add the reference.

I started to read on ninaj forum's etc and it appears i need a additional references.txt. I am not sure where this should go or how to reference it and I was hoping some here could help me out. Thanks again for this site and all the help from everyone.

I was going to ask this in a thread about dropdown box but i figured since i could not find thread stating this that i would start a new one for those who find it later on.

Thanks
Tim

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
22 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599


Beyond the "right-click, add reference" menu option from within ninjascript editor?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361


Big Mike View Post
Beyond the "right-click, add reference" menu option from within ninjascript editor?

Mike

Yes beyond that. There is a way to do it with a additional references .txt from what i understand. I am hoping someone here knows. I believe bukken would know how it works. I am hoping it isn't a huge long process LOL. But with ninja it usually is.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599


timmyb View Post
Yes beyond that. There is a way to do it with a additional references .txt from what i understand. I am hoping someone here knows. I believe bukken would know how it works. I am hoping it isn't a huge long process LOL. But with ninja it usually is.

Yeah I figured. I never went as far as VS projects and such with NT.

I bet @gomi would know, and probably @bukkan like you said, quite likely so would @tarantino and a few others. Hopefully the shout outs grab their attention for you.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361


Big Mike View Post
Yeah I figured. I never went as far as VS projects and such with NT.

I bet @ gomi would know, and probably @ bukkan like you said, quite likely so would @ tarantino and a few others. Hopefully the shout outs grab their attention for you.

Mike

Well i exported it as a dll and see the xml document but no additional references

i posted what i got on export and then an example from bukken. I will see what we get.


and as a side note i bother gomi allot LOL

Attached Thumbnails
Click image for larger version

Name:	1-4-2011 2-59-57 PM goober.png
Views:	224
Size:	15.0 KB
ID:	27778   Click image for larger version

Name:	1-4-2011 3-01-06 PM example bukken.png
Views:	241
Size:	11.3 KB
ID:	27779  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #7 (permalink)
tarantino
Willowbrook, IL
 
Posts: 32 since Sep 2010
Thanks Given: 71
Thanks Received: 39

I am not sure where the problem is.

If you export your indicator as dll, you don't need any references - NT will add the reference when importing.

If you export your indicator which references different assemblies, the AdditionalReferences.txt will be created in the zip file. This additionalreferences.txt will contain names of assemblies to be referenced.

If the assemblies exist in the archive, references will be added by NT. If not, user should get a warning that those assemblies need to be added.

If you are making custom installer and not using NT import/export, AdditionalReferences.txt will not help you.
The only way to achieve automatic addition of references would be to configure your installer to modify Config.xml under My Documents/NinjaTrader 7.0 folder during your installation process.

You can add your references under [NinjaTrader][Options][References] element.

Make sure NT is not running during installation process, otherwise references could be overwritten upon NT exit.

Reply With Quote
  #8 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361


tarantino View Post
I am not sure where the problem is.

If you export your indicator as dll, you don't need any references - NT will add the reference when importing.

If you export your indicator which references different assemblies, the AdditionalReferences.txt will be created in the zip file. This additionalreferences.txt will contain names of assemblies to be referenced.

If the assemblies exist in the archive, references will be added by NT. If not, user should get a warning that those assemblies need to be added.

If you are making custom installer and not using NT import/export, AdditionalReferences.txt will not help you.
The only way to achieve automatic addition of references would be to configure your installer to modify Config.xml under My Documents/NinjaTrader 7.0 folder during your installation process.

You can add your references under [NinjaTrader][Options][References] element.

Make sure NT is not running during installation process, otherwise references could be overwritten upon NT exit.

Thanks allot, I exported as a dll. and the reference is not in the zip folder. This is where i got confused .

refer to the attached for further explanation

P.S thank again for helping

Attached Thumbnails
Click image for larger version

Name:	1-5-2011 11-38-46 AM export 1.png
Views:	277
Size:	73.5 KB
ID:	27841   Click image for larger version

Name:	1-5-2011 11-40-51 AM export 2.png
Views:	245
Size:	61.6 KB
ID:	27842   Click image for larger version

Name:	1-5-2011 11-43-17 AM 3.png
Views:	250
Size:	101.8 KB
ID:	27843  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #9 (permalink)
tarantino
Willowbrook, IL
 
Posts: 32 since Sep 2010
Thanks Given: 71
Thanks Received: 39

What references you need? If you import deltatrader.zip everything should be ok

Reply With Quote
  #10 (permalink)
 timmyb 
duluth,mn
 
Experience: Advanced
Platform: ninja,thinkorswim
Broker: Amp-Zenfire
Trading: ES,Options
Posts: 654 since Feb 2010
Thanks Given: 81
Thanks Received: 1,361



tarantino View Post
What references you need? If you import deltatrader.zip everything should be ok

Ok so the references will be there .

What about the dll's themselves, i am curious if they will be there or do i have to use my installer program to get them on the persons pc.


I want to thank everyone again. I am basically building something i will share in the elite section. On that note i was wondering if mike thought of a programming section in the elite side.

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on May 3, 2012


© 2024 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 - Privacy Policy - Downloads - Top
no new posts