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 ETFVoyageur, Today, 07:05 PM
            0 responses
            3 views
            0 likes
            Last Post ETFVoyageur  
            Started by Orion815, 05-02-2024, 08:39 AM
            2 responses
            15 views
            0 likes
            Last Post Orion815  
            Started by suroot, 02-25-2017, 04:43 AM
            11 responses
            2,549 views
            0 likes
            Last Post Zilvercat  
            Started by Rogers101, 05-05-2024, 11:30 AM
            16 responses
            50 views
            0 likes
            Last Post Rogers101  
            Started by ninza33, Today, 12:31 PM
            2 responses
            11 views
            0 likes
            Last Post ninza33
            by ninza33
             
            Working...
            X