Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

adding 2nd timeframe

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

    #16
    Hi kate,

    Thanks for the answer. As for this RELX stock. I have no idea what it is and I never added it When I want to delete the instrument, ninjatrader just crashes. I added a printscreen of what I get when opening AF.

    Comment


      #17
      Hello SebastiaanR,

      Thank you for your reply.

      Let's have you test in Safe Mode. Safe Mode will prevent NinjaTrader from:
      • Loading workspaces.
      • Connecting on start-up.
      • Loading custom assemblies.
      • Getting instrument updates from the server.
      To enable safe mode, please use the following steps:
      • Exit NinjaTrader.
      • Hold the CONTROL key and double click the NinjaTrader icon.
      • Keep the CONTROL key held down until you see the Control Center.
      • You can verify you are in safe mode by going to Help -> About.
      Once in Safe Mode, you will be in a blank workspace, with just the Control Center showing. You'll need to manually connect to your IB connection. Once connected, try to open an AF chart. Do you get the same errors?

      Thanks in advance; I look forward to assisting you further.

      Comment


        #18
        Hi kate,

        I contacted my broker and they found a solution to these errors. So the errors on market data are fixed.
        I do have another issue but this is only with weekly charts. When I download historical data from my broker for AF. This goed back to 4th of december 2007. This is the first weekly bar available on my broker. Now Ninjatrader plots the first weekly bar at 7th of december 2007. So every weekly bar is 3 days too late.

        Comment


          #19
          Hello SebastiaanR,

          Thank you for your reply.

          NinjaTrader bars are timestamped by the date they close. Weekly bars are built off of daily bars and the trading week would generally end on Friday. December 7, 2007 was a Friday, so I would expect to see a weekly bar on that date. What date were you expecting the bar to be?

          Thanks in advance; I look forward to assisting you further.

          Comment


            #20
            Hi kate,

            I see. At Interactive brokers the weekly bars are plotted at monday. So lets say 23/12/2019 while ninja plots it on 27/12/2019. Now is there a way to sync these ?

            Comment


              #21
              Hello SebastiaanR,

              Thank you for your reply.

              Having the weekly bar close/display on Friday is built into the Weekly bars type. In order to change this, you would need a custom bars type that closes the weekly bar on Monday. You can access the code for the Weekly Bars Type in the NinjaScript Editor, save a copy with a unique name, and make changes as you see fit.

              Thanks in advance; I look forward to assisting you further.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Yesterday, 05:17 AM
              0 responses
              65 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              139 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              75 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              45 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              50 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X