Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
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.
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.
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.