Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I create memory efficient Time Series Data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I create memory efficient Time Series Data

    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
    Please read here on how to use a DataSereis object: http://www.ninjatrader-support.com/H...iesObject.html

    Comment


      #3
      Thanks. I'm working through it now.

      Llew

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      152 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      87 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      131 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      127 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      106 views
      0 likes
      Last Post CarlTrading  
      Working...
      X