Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing historical index data shows empty chart

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

    Importing historical index data shows empty chart

    Hello,

    I have imported historical data several times before, but am not able to now.

    I have created a file for SP500 daily prices from tradingview, changed it into the NT format and uploaded it successfully; I can see that it imports the range of dates, too, some 24k days.

    When trying to open the file I chose to use as library item, in this case ^COMP, it gives me an empty chart just like when opening an "empty" library item.

    I have tried this with 2 separate files and different library item names.

    The difference to my prior files which worked is that this is "daily" and not minute data. But I cannot so far derive a solution from this difference.

    This is an example of the code:
    19851119 090000;198.7;199.52;198.01;198.67;0
    19851120 090000;198.66;199.2;198.52;198.99;0
    19851121 090000;198.99;201.43;198.99;201.41;0​


    PS I specified the correct date range (1950-2023) & tried several ranges, so this is not the error.
    Last edited by hansintakt; 11-10-2023, 12:53 PM.

    #2
    Hello hansintakt,

    Thank you for posting.

    As opposed to importing daily data manually for the Index instruments you can connect to the Kinetick End of Day (Free) connection which will give you access to end of day daily data within NinjaTrader.

    Let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Thank you for the tip, but I have 2 additional text files, for daily advance-decline data which is only available as historical data for this date range, which I have the same problem with.

      Comment


        #4
        When importing Daily data you would need to name the file for example ^COMP.Last.txt and the data would need to use the following format:
        • yyyyMMdd;open price;high price;low price;close price;volume
        I have included a link below to our Help Guide that goes over the required format and file name requirements:Let me know if I may be of further assistance.
        Christopher J.NinjaTrader Customer Service

        Comment


          #5
          I don't know if I should close this thread.

          I solved the problem by deleting the generic time following the date from the text file.

          Thank you anyway!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          77 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          45 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          27 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          63 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X