manual install indie w/ .dll and .cs file ? - NinjaTrader | futures io social day trading
futures io futures trading


manual install indie w/ .dll and .cs file ?
Updated: Views / Replies:2,359 / 4
Created: by traderTX Attachments:0

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
 
Thread Tools Search this Thread
 

manual install indie w/ .dll and .cs file ?

  #1 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

manual install indie w/ .dll and .cs file ?

i want to manually copy a .cs file and 2 .dll files for an indicator. i tried the ninja import feature but the zip file doesnt show up in the browse box. maybe the zip file wasnt exported using ninja. not sure.
the two dll files are X86 and X64.

what folders do i copy the cs and dll files to in the ninja directory ?
would they all go to My Documents\NinjaTrader 7\bin\Custom\Indicator folder?


thanks

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"

Last edited by traderTX; May 1st, 2014 at 11:16 AM.
Reply With Quote
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

I think you are talking about a custom assembly. A custom assembly usually comes as a zipped package which includes 4 separate files

-> Custom_Indicator.cs
-> Custom_Indicator.X64.dll
-> Custom_Indicator.X86.dll
-> Info.XML

The correct way of installing an assembly would be to first copy that assembly to a known directory and then import it via File -> Utilities -> Import NinjaScript from the place where it had been stored. When importing an assembly,

-> NinjaTrader copies the first three files (all but the Info file) to the directory Documents -> NinjaTrader 7 -> Custom -> bin
-> NinjaTrader creates a new file Custom_Indicator.dll
-> NinjaTrader adds a reference to that newly created file Custom_Indicator.dll

I have never tried to manually import an assembly (what for?), but I think it is possible to do so by

-> shutting down NinjaTrader
-> removing the three NinjaTrader.Custom.* files from the the directory Documents -> NinjaTrader 7 -> Custom -> bin to a safe location (needed in case something goes wrong, so that you can copy them back)
-> copying the three assembly files (but not the Info file) to that same directory
-> saving one of the two .dll files under the new name "Custom_Indicator.dll"

Then restart NinjaTrader. NinjaTrader should now regenerate the removed custom files. Now you need to edit any of your indicators and right click on the editor in order to select the popup menu. Select the last line of the menu which reads "References", then add a reference to the newly created Custom_Indicator.dll file.

If you are lucky the assembly should now run.

Much easier to import the assembly via File -> Utilites -> Import NinjaScript.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #3 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received


thanks fattails for the reply.
you are correct, it is a custom assembly.
when i browse for the zip file using the import utility of ninja, it doesnt recognize the zip. that is, it doesnt show up in my folder as a zip file. i have other indicators that do show up for import in the folder.
that is why i thought i would try to manually import it.

a friend gave this to me to try, i wonder if it could be for ninja 6.5 ?
any other reason why the inport utility wouldnt recognize it ?

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Reply With Quote
 
  #4 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

Ok, i redownloaded the indicator and re-placed it in my indicator folder, and this time the import utilty showed and i was able to import it and bring it up on a chart.
thanks so much

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Reply With Quote
The following user says Thank You to traderTX for this post:
 
  #5 (permalink)
Elite Member
New York, NY
 
Futures Experience: Intermediate
Platform: NinjaTrader8
Broker/Data: Data = Rithmic -- Gives 70 Level II Data
Favorite Futures: 6C (Low Margin,) 6E, CL, GC, ES and Maybe DX for smaller tick value
 
Posts: 813 since May 2011
Thanks: 1,330 given, 531 received

Installing a CS file - manually

Sometimes coders post just the indicator without using the zip file function. This is not a big deal but many are left wondering how to make it work:

1. Download the CS file into your indicator directory: (My) Documents\NinjaTrader 7\bin\Custom\Indicator

2. Go to TOOLS menu -> Edit NinjaScript -> Indicator

3. This will open the file library. Select the indicator to edit - generally you would select the one you just placed there. But any indicator will do since the compile function checks and compiles all indicator files each time.

4. The indicator selected will open showing the NT programming code. Now press f5 on top line of keyboard or select the compile icon usually located to the right of the binoculars.

5. The indicator should compile and simply confirm with a sound. No text or anything is apparent.
5a. If there are any problems in any code they will show up as errrors in the bottom of the screen and must be corrected before this indicator will work. Clicking the line # on the right of the error will take to the location requiring correction. If you have problems use the help function.
6. If your indicator has no errors, close the file. The indicator is now ready to use in your charts.

Good Trading!!!


Last edited by jmont1; August 22nd, 2015 at 11:38 AM.
Reply With Quote
The following 2 users say Thank You to jmont1 for this post:

Reply



futures io > > > > manual install indie w/ .dll and .cs file ?

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
Importing a .cs - file indicator / strategy max-td NinjaTrader Programming 39 November 30th, 2016 11:00 AM
CS to a zip file OBV Divergence mannya The Elite Circle 3 April 20th, 2014 07:12 PM
Need Zip file please (_Lin_Reg_Rev_Paint_v01.cs) tickvix NinjaTrader 5 March 29th, 2011 11:03 AM
How to change a .cs file into NinjaTrader 7 zip micdup NinjaTrader 15 January 7th, 2011 08:57 PM
CS file greatsky NinjaTrader 6 December 23rd, 2010 11:27 AM


All times are GMT -4. The time now is 06:16 AM.

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.09 seconds with 19 queries on phoenix via your IP 54.82.81.154