Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiSeries with Tick data loading time

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

    MultiSeries with Tick data loading time

    Is there any way to limit the number of days of tick data that are loaded in a multi series indicator?

    I have an indicator that only uses the last week of tick data on some of my charts, but i want to see the daily bars going back further. Is there any way to prevent loading of more than 1 week of tick data when the chart loads? It sometimes takes up to 1 minute if I want to see the last 6 months of data.

    #2
    habibalex, unfortunately this could not be specified through the Add(0 you would use, the primary series would be the governing factor here for the load range settings.

    For our next major release we're considering to increase flexibility in this area.

    Comment


      #3
      Is there a way to read the ninjatrader database that stores the tick data? i can align all the data myself by bar timestamps

      Comment


        #4
        Hello habibalex,

        Thank you for your response.

        You can achieve this by adding a PeriodType.Tick with a value of one to the script and then calling the Closes[1][0] or Times[1][0]. For information on multiple time frames in your script please visit the following link: http://www.ninjatrader.com/support/h...nstruments.htm

        Comment


          #5
          That defeats the purpose of what i want to do. I want to directly read the db and only pull the necessary information from it. It can take up to 1 minute to load 180 days of tick data. Sometimes i need more than 365 days. My indicator is very resource intensive so I'm trying to cache the results in a separate file. I am able to load that file now. I only need the latest day or two of tick data as that will be new data that hasn't been cached yet.

          Comment


            #6
            Hello habibalex,

            Thank you for your response.

            Unfortunately, there would be no methods or functions supported and documented to access the database directly and only when needed.
            Last edited by NinjaTrader_PatrickH; 05-08-2014, 08:19 AM.

            Comment


              #7
              When I load a chart, some of that data is stored in the db\tick\{Insturment Name} folder. I am able to access that correctly, but it looks like it doesn't contain all the tick data that ninja displays on the chart. For data that is not stored in that folder it looks like it is cached in the \db\cache folder.

              It looks like it is {SessionName}.{Timezone}\tick\{Instrument Name}\Tick-1-1-Last-Minute-1-Close-Tick.{Date Start}.{Date End}.Last.ntd. Is the remaining tick data stored in that file?

              Comment


                #8
                Hello habibalex,

                Thank you for your patience.

                The current data would be in memory (not stored on the hard drive at (My) Documents\NinjaTrader 7). The data is only added to the database when you reload historical data. However, you can enable 'Save chart data as historical' under Tools > Options > Data, this will save the incoming data as historical upon it being received.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                607 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                353 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                105 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                560 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                561 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X