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

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.
    BertrandNinjaTrader Customer Service

    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 bortz, 11-06-2023, 08:04 AM
            47 responses
            1,610 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            9 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            19 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            6 views
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            16 views
            0 likes
            Last Post Javierw.ok  
            Working...
            X