![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
|
Hi
I need to use some statistical functions in NT which are not available, so I thought to import them. For instance, I have a file .zip called correlation.zip, which contains correlation.cs. How can I import it to use the method into the NT compiler? Thank you |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
stefy,
You can't just import any file you find on the web. If it was not programmed in NinjaTrader you can't just import it.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
|
OK, I also found a scientific library Science.dll.
I remember it's possible to import external libraries. I added it to the References in my code, but then if I try to use one of the its methods, I get an error in the compiler. Why? Thank you |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Add a using line like the ones you see up top. Unfortunately that is all I can offer you for support on this. You are diving into much more advanced C# concepts that we just cannot support.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing data from external files to NT | Harry | Indicator Development | 3 | 02-17-2009 09:39 AM |
| Importing of indicator | bugman4/u | NinjaScript File Sharing Discussion | 1 | 02-16-2009 04:38 PM |
| Importing NT Indicators | 123r34 | General Programming | 3 | 03-16-2008 10:57 AM |
| If NT crashes after importing symbol list, list is not saved | Pete S | Historical NinjaTrader 6.5 Beta Threads | 4 | 03-16-2008 06:10 AM |
| importing | bohurst | Suggestions And Feedback | 1 | 04-14-2005 06:13 PM |