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

Chart bars redraw

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

    Chart bars redraw

    Hello Support --

    I have some problem, please help!

    I use 1440 minutes time frame for dayly chart, but the chart does not draw previouse day correctly and I have to use "Reload all historical data" each day for each instrument to get correct previouse day bar. I attached the screens befor and after to show what I mean.

    I made a script which uses SendKeys method for hot keys of "Reload all historical data" but it takes a lot of time. I monitor more the 30 instruments.

    Is there any method which redraw the bars on the chart wthout of reloadining all histroical data?

    Regards.
    Attached Files

    #2
    Hello alex_bbfg,

    Thank you for your post.

    So I may investigate this matter further please answer the following questions.
    • What version of NinjaTrader are you using? You can check under Help -> About (Example: 7.0.1000.X)
    • Who are you connected to? This is displayed by green on lower left corner of the Control Center window.
    • What instrument(s) have you selected? If a futures instrument, what expiry is selected? (Example: ES 06-13)
    • What interval is selected for your chart(s)? (Example: Tick, Minute, Day, etc.)

    I look forward to your response.

    Comment


      #3
      Hello PatrickH,

      Thank you for the reply

      Here are answeres on your questions

      - 7.0.1000.31
      - Rithmic for Ninja Trader Brokerage
      - 6A 03-16 Globex is on the screens. I trade futures more then 30 each of them has the problem. I trade the actual contract which the NT7 oferes in Instrument Manager
      - all my charts are in Minutes. The problem is with 1440 minute chart

      what is about the method which redraw the bars on a chart?

      Regards.

      Comment


        #4
        Hello,
        There is not a method to reload historical data in NinjaScript.
        It sounds like there may be something caught in the DB cache that is causing this.
        To troubleshoot further please cleare your cache
        shut down NinjaTrader 7
        Navigate to the (My) Documents> NinjaTrader 7 > db > Cache folder
        Delete the contents of the Cache folder
        Restart Ninjatrader 7
        Cody B.NinjaTrader Customer Service

        Comment


          #5
          Hello CodyB,

          thank you for the reply.

          It does not work. I cleared the cash folder yesterday, today result for the same 6A 03-16 in attachment.

          I do not ask about method to reload historical data, I use SendKeys method with hot key for "Reload Historical Data" and it works but very slowly.

          I asked for method to redraw bars on a chart. It must be, because the bars are redrawn somehow when I use reload all historical data.

          Regards.
          Attached Files

          Comment


            #6
            Hi alex_bbfg,

            Cody was mentioning that NinjaTrader 7 should be automatically downloading any missing data.
            There is an option for this in Tools -> Options... -> Data -> Get data from server (if available)
            Is this currently checked on your system?

            If so, I would like to schedule a call with you to assist. Please send an email to platformsupport [at] ninjatrader [dot] com. In the email include a link to this forum thread.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Spiderbird, Today, 12:15 PM
            2 responses
            7 views
            0 likes
            Last Post Spiderbird  
            Started by WHICKED, Today, 12:45 PM
            0 responses
            3 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by FrazMann, Today, 11:21 AM
            2 responses
            6 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by rjbtrade1, 11-30-2023, 04:38 PM
            2 responses
            80 views
            0 likes
            Last Post DavidHP
            by DavidHP
             
            Started by lorem, Yesterday, 09:18 AM
            5 responses
            18 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X