additional references dll - NinjaTrader Programming | futures io social day trading
futures io futures trading


additional references dll
Updated: Views / Replies:8,006 / 34
Created: by timmyb Attachments:10

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 10  
 
Thread Tools Search this Thread
 

additional references dll

  #11 (permalink)
Trading Apprentice
Willowbrook, IL
 
Futures Experience: None
Platform: Windows 7, Android
Favorite Futures: Mouse and Keyboard
 
tarantino's Avatar
 
Posts: 32 since Sep 2010
Thanks: 71 given, 39 received

If you export using NT, then NT will take care when you import back and will place everything where it belongs.
Only problem could be if you are referencing 3rd party assemblies which are not included in zip

Reply With Quote
The following user says Thank You to tarantino for this post:
 
  #12 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received


tarantino View Post
If you export using NT, then NT will take care when you import back and will place everything where it belongs.
Only problem could be if you are referencing 3rd party assemblies which are not included in zip

ok i got a friend that is trying it tonight. we will see how it goes. I just want to share it with the elite when its done.

and one last question , when you say third party do you mean me?? cause the dll used is not native to ninja install. I placed it there on my machine to get things to work. I just hope it works lol. If so its not a big deal i built a installer just for the dll's then they can just import the zip for the indicator.

I apologize for all the questions i never dealt with dll's until a week ago.

thanks again

tim

Reply With Quote
 
  #13 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received


this is how a indicator which has reference to a dll should be packed.

Reply With Quote
The following 5 users say Thank You to bukkan for this post:
 
  #14 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received

thanks again bukken I finally figured all this out with your help. I cannot tell you how much I appreciate it. What a great thing. Now it loads my dll and everything WOOHOO. this will defined simplify it for others.

Reply With Quote
 
  #15 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,276 received


timmyb View Post
thanks again bukken I finally figured all this out with your help. I cannot tell you how much I appreciate it. What a great thing. Now it loads my dll and everything WOOHOO. this will defined simplify it for others.

Can you explain the the steps of what you had to do to make it work?

Reply With Quote
 
  #16 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received


monpere View Post
Can you explain the the steps of what you had to do to make it work?

Sure monpere. Then maybe you will know another thing I am wondering about.

Ok so we built ourselves a snazzy custom indicator in ninja. And unfortunately this indicator uses an external dll. We now want to share it with others but many are thrown off by the place this here do that etc. And usually they end up putting this file in the wrong place. So then they bother you asking what happened.

So first we built our snazzy new Indicator. We added the reference to the dll.

I will use my trade tracker as an example.

So we go into ninja and do the typical export.

A window will pop up warning that you need to be aware the target pc needs to have certain files on it.

(very important note, if you reference a different dll for a different file you should remove those files in a safe place before exporting this file. Because ninja will want all those on the target pc.) I am unsure as of this typing if u jsut remove those references if it needs them if it will still look for them.

Ok so now you have a folder zip. open that and you will see a file that says additonal references. check that the name of needed dll / dll's are in it. And not uneeded ones.

Add your dll to the root of this zip

and WALLA like majic ninja loads your dll on the users pc upon import. After i got it to work i sat and stared for like 5 mins goin your kidding right. I been building a custom installer etc and it was just place the file here.

after import into ninja a warning will come up saying the pc needs the dll to work right. But it is there and this is just a friendly warning. Restart ninja and use the custom indicator.

Tim

Attached Thumbnails
additional references dll-1-23-2011-11-41-11-am-demo-fo-export-1.png   additional references dll-1-23-2011-11-42-06-am-demo-export-2.png   additional references dll-1-23-2011-11-42-46-am-demo-export-3.png  
Reply With Quote
The following 3 users say Thank You to timmyb for this post:
 
  #17 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received

Ok so this one is probably for bukken.

So i managed to figure out how to build a form in visual basic then have ninja load it. Now here is my loading code.

TestForm.Show();

which loads the form

now that form has a button. But i cannot seem to gain access to the button I am curious how.

to make it simple i was trying to jsut have when i click the button a message box opens. But i am unsure how to get the ninja .cs to know if the button was clicked in the form in the dll

Hope this makes sense

Reply With Quote
The following user says Thank You to timmyb for this post:
 
  #18 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received


timmyb View Post
Sure monpere. Then maybe you will know another thing I am wondering about.

Ok so we built ourselves a snazzy custom indicator in ninja. And unfortunately this indicator uses an external dll. We now want to share it with others but many are thrown off by the place this here do that etc. And usually they end up putting this file in the wrong place. So then they bother you asking what happened.

So first we built our snazzy new Indicator. We added the reference to the dll.

I will use my trade tracker as an example.

So we go into ninja and do the typical export.

A window will pop up warning that you need to be aware the target pc needs to have certain files on it.

(very important note, if you reference a different dll for a different file you should remove those files in a safe place before exporting this file. Because ninja will want all those on the target pc.) I am unsure as of this typing if u jsut remove those references if it needs them if it will still look for them.

Ok so now you have a folder zip. open that and you will see a file that says additonal references. check that the name of needed dll / dll's are in it. And not uneeded ones.

Add your dll to the root of this zip

and WALLA like majic ninja loads your dll on the users pc upon import. After i got it to work i sat and stared for like 5 mins goin your kidding right. I been building a custom installer etc and it was just place the file here.

after import into ninja a warning will come up saying the pc needs the dll to work right. But it is there and this is just a friendly warning. Restart ninja and use the custom indicator.

Tim

Thanks David, I figured it out today and posted the steps above. I didn't even think that richard did the same thing LOL. Oh well.

I am still working on accessing info from the dll.If anyone has input let me know


Hmm weird i swear david had a reply here a minute ago.

Reply With Quote
 
  #19 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received

So I am still working on this I got the form to load via the script I posted earlier and i am now trying to access the button on it. I think in the visual studio project i need to add variables that ninja can acces and maybe a public something to show ninja that the button was clicked. Still working ................

maybe instead of using the dll i could just reference a .cs namespace or something. hmmmm

Reply With Quote
 
  #20 (permalink)
Elite Member
duluth,mn
 
Futures Experience: Advanced
Platform: ninja,thinkorswim
Broker/Data: Amp-Zenfire
Favorite Futures: ES,Options
 
Posts: 648 since Feb 2010
Thanks: 81 given, 1,349 received



monpere View Post
Can you explain the the steps of what you had to do to make it work?

int the prior steps i said to remove other files if needed. Instead you can just alter the additional references

Reply With Quote
The following user says Thank You to timmyb for this post:

Reply



futures io > > > > > additional references dll

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
ELEXCEL.dll: Where to download arjfca EasyLanguage Programming 4 July 1st, 2015 08:13 AM
Bernanke Indicates Fed Dissenters Wonít Impede Additional Asset Purchases kbit News and Current Events 3 August 11th, 2011 03:32 AM
Not sure where these script files belong / references - .dll - trouble grego NinjaTrader Programming 9 September 8th, 2010 09:44 AM
US Finds Most Oil From Spill Poses Little Additional Risk Quick Summary News and Current Events 0 August 4th, 2010 03:21 AM


All times are GMT -4. The time now is 03:42 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-17 in 0.11 seconds with 20 queries on phoenix via your IP 107.20.115.174