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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            169 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            326 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            252 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            353 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            180 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X