Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

60 minute vs hour MultiTimeframe data with IB

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

    #16
    The requests would be same as for the charting engine, your minute based intervals are build from 1 minute base data at all times.

    Comment


      #17
      I am running NinjaTrader 7.0.1000.18 live with Interactive Brokers TWS 938.1e. I use lots of multi-timeframe indicators. Some of them add 1-minute data, others 60-min or 120-min data up to 1440-min data.

      There are no problems whatsoever, adding those secondary bar series.

      All secondary bar series are built by NinjaTrader from 1-min data. The 1-min data is stored in the historical data base, from where NinjaTrader imports it for display on the chart.

      I assume that your test indicator does not work properly.

      Comment


        #18
        Hello Harry,

        Do you mind posting a very small piece of code with a few timeframes and something to test if it works? Maybe I am doing something wrong.

        I would be very grateful.

        Regards.

        Comment


          #19
          I found out what the problem is!

          When I test the strategy in the Strategy Analyzer I set my timeframe only two days back. It seems that when there is not enough days to look at, the higher timeframe are not added and the script fails.

          Now I used a whole month (from 1/1 to 1/17) to look at and the script works fine.

          I think this is rather strange because even if I were to select one day then it should be able to show 5 sixty minute candles right?

          NinjaTrader Moderated, please test this too and confirm.

          Comment


            #20
            Ah, I see there is a minimum bars required option too. Ok. You can close this thread. Problem solved

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            82 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            43 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            64 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            68 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            56 views
            0 likes
            Last Post CarlTrading  
            Working...
            X