PDA

View Full Version : External DLL


shapper
04-19-2009, 04:50 PM
Hello,

I have two DLL's with my trading system created in .NET 3.5 C#.

I have another one compatible with .NET created in Matlab.

Can I use this external DLL's in Ninja Trading?

Can I create a Ninja script that call my DLL's and uses its methods?
By the way, my class libraries also use Jurik DLL's ...

Thanks,
Miguel

NinjaTrader_Dierk
04-19-2009, 10:34 PM
- you can call .NET assemblies in NT. However, please make sure they are .NET 2.0 assemblies
- you can call native code DLLs in NT

Unfortunately, details on these issues are beyond what we could provide support. I believe there are some forum threads dealing with that issue. As last resort you could contact a certified NinjaScript consultant: http://www.ninjatrader.com/webnew/partners_onlinetrading_NinjaScript.htm

shapper
04-21-2009, 05:12 PM
Hello,

In Ninja Trader 7 will I be able to use Net 3.5 libraries?

Net 2.0 is starting to be a little bit obsolete.

Thanks,
Miguel

shapper
04-21-2009, 05:35 PM
Unfortunately, details on these issues are beyond what we could provide support.

But do you have any documentation about it?

I have no problems with C# as I use it daily but having some docs about ninja trader would be useful.

NinjaTrader_Dierk
04-21-2009, 09:43 PM
- unfortunately we do not provide support in that particular subject
- there is wealth of documentation on NinjaTrader available e.g. on this forum, in the product itself (just press F1) or on our web site
- NT7 will be .NET 3.5 based

Antony
10-19-2011, 04:23 AM
- unfortunately we do not provide support in that particular subject
- there is wealth of documentation on NinjaTrader available e.g. on this forum, in the product itself (just press F1) or on our web site
- NT7 will be .NET 3.5 based
Hi,

Any sample code availabile - Ninja script that call DLL's and uses its methods.

Antony

NinjaTrader_Bertrand
10-19-2011, 04:33 AM
Unfortunately there's no sample for this use available, it's doable and users have used it already but we could not offer support for it.

arnonmoscona
12-19-2011, 08:54 PM
So, did you manage to find a solution to this? I myself am starting with NJ7 and want to integrate my own .net assemblies in a similar way. Found no documentation or usable examples, although it's pretty clear it can be done.

If you have a solution, can you give the rest of us some pointers?

Thanks

sledge
12-19-2011, 09:25 PM
It's NT7 as in WIN NT :rolleyes:

check this out here?..

http://www.bigmiketrading.com/ninjatrader-programming/4064-external-dll-ninjatrader.html




So, did you manage to find a solution to this? I myself am starting with NJ7 and want to integrate my own .net assemblies in a similar way. Found no documentation or usable examples, although it's pretty clear it can be done.

If you have a solution, can you give the rest of us some pointers?

Thanks