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



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


Discussion in NinjaTrader

Updated by jmont1
    1. trending_up 3,622 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

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

 
Search this Thread
 

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

(login for full post details)
  #1 (permalink)
pittsburgh, pa
 
Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker: IB , AMP/ cqg
Trading: ES, CL
 
traderTX's Avatar
 
Posts: 152 since Mar 2010
Thanks: 52 given, 46 received

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"
Reply With Quote

Can you help answer these questions
from other members on futures io?
DLL with webrequest function for MC
MultiCharts
IB Bracker Order
Platforms and Indicators
Where is the link to download GomiRecorder?
NinjaTrader
Metastock Xenith Adapter
NinjaTrader
Stacked Imbalances.
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Excited and scared at the same time
13 thanks
What Is the Source of Your Edge??
12 thanks
CME to launch Nasdaq-100 Volatility Index (VolQ) futures
12 thanks
https://ivytrusts.com/ SCAM ALERT
11 thanks
Is Orderflow An Outdated Concept?
10 thanks
 
(login for full post details)
  #2 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,841 since Mar 2010
Thanks: 4,238 given, 26,589 received

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:
 
(login for full post details)
  #3 (permalink)
pittsburgh, pa
 
Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker: IB , AMP/ cqg
Trading: ES, CL
 
traderTX's Avatar
 
Posts: 152 since Mar 2010
Thanks: 52 given, 46 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
 
(login for full post details)
  #4 (permalink)
pittsburgh, pa
 
Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker: IB , AMP/ cqg
Trading: ES, CL
 
traderTX's Avatar
 
Posts: 152 since Mar 2010
Thanks: 52 given, 46 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:
 
(login for full post details)
  #5 (permalink)
Market Wizard
New York, NY
 
Experience: Intermediate
Platform: NinjaTrader8
Broker: Data = Rithmic -- Gives 70 Level II Data
Trading: 6C (Low Margin,) 6E, CL, GC, ES and Maybe DX for smaller tick value
 
Posts: 1,192 since May 2011
Thanks: 1,551 given, 881 received

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!!!

Reply With Quote
The following 2 users say Thank You to jmont1 for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > manual install indie w/ .dll and .cs file ?


August 21, 2015


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



Copyright © 2020 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