Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Problem With Historical Data - back to the future quotes

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

    Problem With Historical Data - back to the future quotes

    Hello ninjas

    Please take a look a atached image.

    Problem 1: when i call Close[0] and BarsArray[0]GetClose(CurrentBar) appear a crazy value;
    Problem 2: when i call BarsArray[0]GetClose(CurrentBar).Time apear a date in the FUTURE = 18/02/2018. How is it possible???
    Problem 3: the values printed in the NinjaScriptOutput is NOT registered in "Historical Data".
    Problem 4: problems that are destroying the mine indicators!!

    These storage problems are happening frequently.
    Questions:
    1 - I want to know how to proceed when this happens?
    2 - Is there any rotine that I can code to verify that the quotes are correct?
    3 - Is this a problem with NT8 or KineTick?
    Note: My indicators run with TickReplay and my MD provider is KineTick.

    Thanks, please help us.
    Attached Files

    #2
    Hello MarceloF,

    Thank you for your note.

    Without the print statements or script we are unable to test on our end.

    If you'd like to upload the full code I can take a look and see if anything jumps out. Or if you'd prefer to email a copy, send to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and the files.

    With the file please include the instrument and chart you are applying it to.

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Ok I understand you need to test.
      But the problem is: How it is possible to apear dates in the future in the BarsArray????????

      Comment


        #4
        Hello MarceloF,

        Without the print statements it would be impossible to know.

        The following would print in the future,

        Code:
        	Print((DateTime.Now).AddMonths(2));
        I look forward to your reply.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          All printed values is from direct historical data...
          Now I restart NT8 and everithing is ok.
          I'm sure it's an NT8 bug.
          And occurs in the opening of the market (higher volume of the day)
          But anyway ... when it happens again I will show again in this post.
          For now thanks for your assistance.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Perr0Grande, Today, 08:16 PM
          0 responses
          2 views
          0 likes
          Last Post Perr0Grande  
          Started by elderan, Today, 08:03 PM
          0 responses
          5 views
          0 likes
          Last Post elderan
          by elderan
           
          Started by algospoke, Today, 06:40 PM
          0 responses
          10 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          12 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          7 views
          0 likes
          Last Post quantismo  
          Working...
          X