![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I've got a general general question about using Time Series Data in Ninja Trader. Please note, I am new to NT, and have gone through the various tutorials and been searching through the help files. Also note, I am new to C#, but have other programming experience. Question What is the most memory efficient way to access and manipulate the data that I see on the chart. In particular, say I have the ESH8 contract charted. How do I create a new data series, starting at some arbitrary point in the past, and continuing to the present bar. For example, if is is 7:00pm CT, then I'd like to create a data series that starts at 3:15pm CT. It would have the general format of (Current Price minus Closing Price at 3:15pm). That is, it would be 0, at 3:15, and then give the offset, plus or minus, from the closing price at 3:15. I suspect that there is a standard newbie way to do this, but that there is probably a slicker more memory efficient way to do this, that I might not discover for a while. Any help would be greatly appreciated. Thanks, Llew |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please read here on how to use a DataSereis object: http://www.ninjatrader-support.com/H...iesObject.html
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks. I'm working through it now.
Llew |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IB-BackFill-Format Data series | MrBaffalo | Miscellaneous Support | 25 | 01-14-2008 01:24 AM |
| Time series question | ashish | General Programming | 6 | 11-20-2007 06:16 AM |
| Cannot Create Chart & Load Data | momentom | Charting | 1 | 09-19-2007 03:10 AM |
| Weekend data not triggering on secondary time series | gert74 | Strategy Development | 12 | 08-28-2007 08:12 PM |
| Data Series question | NinjaTrader_Josh | Indicator Development | 4 | 05-25-2007 12:43 AM |