Integrating existing DLL in NT7 indi - NinjaTrader Programming | futures io social day trading
futures io futures trading


Integrating existing DLL in NT7 indi
Updated: Views / Replies:2,147 / 8
Created: by martinp Attachments:3

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
 

Integrating existing DLL in NT7 indi

  #1 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received

Integrating existing DLL in NT7 indi

hi,

I try to develop an indicator for NT. The indicator uses a couple of existing classes already build as an assembly (DLL) in Visual Studio. This assembly needs to be used with a couple of additional DLL for other reasons.

When trying to use any element of this assembly everything is fine in Visual Studio - adaption of the custom project as described in this forum - and compiles as well perfectly in NT7.

But when trying to add an indi to an open chart i get the following errormessage:
"Unable to retrieve typeinfos from assembly "NinjaTrader.Custom": ..."

Has anyone a hint for me?

Thx
Martin


Last edited by martinp; February 13th, 2011 at 01:37 PM. Reason: New experience
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received


additional info:

now, after I programmed my first custom indi with VS not working with the external DLL I get another bad result.

After shutting NT7 down an restarting I only get the error-screen:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


martin

Reply With Quote
 
  #4 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

You checked your trace file? I'm guessing you added any needed references to NT?

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #5 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received

Hallo Mike,

thanks for your advice. I've to confess, that I'm a newbee with NT. With C# my experiences are not that bad.

But to your advice:
I suppose with tracefile you think of the NT logfile in the lob directory. There I find:

Quoting 
13.02.2011 18:34:19|0|4|Unable to retrieve type infos from assembly 'NinjaTrader.Custom': System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen benötigen.
bei System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
bei System.Reflection.Assembly.GetTypes()
bei NinjaTrader.Cbi.AssemblyDictionary.GetTypes(Type superClass)
13.02.2011 18:34:21|1|4|Your hidden '_Workspaces' workspace is corrupted and could not be restored. A new '_Workspaces' workspace has been created however you have unfortunately lost your prior settings for this workspace.
13.02.2011 18:34:21|1|4|Order entry hot keys disabled
13.02.2011 18:34:21|1|2|Optimized CPU performance enabled
13.02.2011 18:34:21|1|4|Automated trading disabled

I suppose it's true, that I did not include one of the necessary DLL files in the script.

But what can I do at the moment? NT does not start.
And is there a way to find out perhaps what types are not found bei NT when loading the script? It would give me a hint concerning the missing DLL.

Thx
Martin

Reply With Quote
 
  #6 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received

Tracefile found as well

Martin

Attached Files
Register to download File Type: txt trace.20110215.txt (7.8 KB, 9 views)
Reply With Quote
 
  #7 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received

tracefile found as well

martin

Attached Files
Register to download File Type: txt trace.20110215.txt (7.8 KB, 4 views)
Reply With Quote
 
  #8 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,260 since May 2010
Thanks: 153 given, 1,890 received

Martin,
Your custom script likely is causing the problem, just a guess. Please route this issue to our support and we can help you there. Provide me with your support ticket # and I will be sure someone gets on top of this right away.

Reply With Quote
 
  #9 (permalink)
Just starting out...
Cologne
 
Futures Experience: Advanced
Platform: Investox
Favorite Futures: Forex
 
Posts: 6 since Feb 2011
Thanks: 0 given, 0 received

Hi NinjaTrader,
a kind and competent member of your support staff already helped me in fixing my secondary problem, i.e. NT starts again, and I know all I have to do is to delete the problematic indi-cs from the custom project. NT does not look for the missing DLL anymore.

With my original problem I'm still at the starting point. How to find out which are the relevant DLL to integrate.

Thanks for the offer and thanks for the fast help

Martin

Reply With Quote

Reply



futures io > > > > > Integrating existing DLL in NT7 indi

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
Auto ABC Projection indi jtrade NinjaTrader Programming 14 October 14th, 2013 09:59 AM
volatility indi shah1266 NinjaTrader 3 August 1st, 2011 03:07 PM
Indi works on chart, not in Market Analyzer. Null ref check? MXASJ NinjaTrader Programming 5 May 12th, 2011 10:34 PM
Indi from Tradestation to Ninja 7.. edi025 NinjaTrader Programming 5 December 11th, 2010 08:42 PM
how to get value(s) from a indi to a strategy cory NinjaTrader Programming 6 October 10th, 2010 11:48 AM


All times are GMT -4. The time now is 05:18 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-18 in 0.11 seconds with 20 queries on phoenix via your IP 23.22.136.56