NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 07-02-2008, 05:46 PM   #1
zlpele
Junior Member
 
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Question Passing dataseries to my custom .net dll

Hi,

If I want to pass Ninja's dataseries to my custom .net dll, and considering that I'd be only reading values from it without updating, is it possible to use some standard .net declaration similar to IEnumerable for that input variable in order to completely avoid referencing NinjaTrader.Core or any other Ninja's libs?

If not, are there any plans to introduce that in NT7?

Thanks.
Last edited by zlpele; 07-02-2008 at 05:51 PM.
zlpele is offline  
Reply With Quote
Old 07-02-2008, 10:04 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

You should be able to use any of the standard .NET things to achieve what you want, but unfortunately this is outside of the scope we can offer support for though.
NinjaTrader_Josh is offline  
Reply With Quote
Old 03-11-2009, 06:21 AM   #3
mktrend
Senior Member
 
Join Date: Apr 2008
Posts: 123
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by zlpele View Post
Hi,

If I want to pass Ninja's dataseries to my custom .net dll, and considering that I'd be only reading values from it without updating, is it possible to use some standard .net declaration similar to IEnumerable for that input variable in order to completely avoid referencing NinjaTrader.Core or any other Ninja's libs?

If not, are there any plans to introduce that in NT7?

Thanks.
One of the many ways available would be to create Global Variables and pass the data there and then it becomes available to any and all other applications.

HTH
mktrend is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing period parameter to Add function as a variable JangoFolly Strategy Development 11 05-10-2008 04:32 PM
Custom DataSeries in Strategy astrolobe Strategy Development 3 12-02-2007 09:46 PM
custom Dataseries as indicator input, or input to indi through underlying strategy Nathamus General Programming 3 08-30-2007 12:04 PM
Example for passing Time/Date as a Parameter zoltran General Programming 7 05-17-2007 09:32 AM
Tradestation - passing in Account Numbers jonno Automated Trading 1 12-20-2005 05:59 AM


All times are GMT -6. The time now is 09:01 AM.