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 NM_eFe, Today, 06:14 AM
            0 responses
            1 view
            0 likes
            Last Post NM_eFe
            by NM_eFe
             
            Started by sgordet, Today, 06:04 AM
            0 responses
            4 views
            0 likes
            Last Post sgordet
            by sgordet
             
            Started by bc24fl, 08-30-2019, 01:58 PM
            4 responses
            260 views
            0 likes
            Last Post PaulMohn  
            Started by sugalt, Today, 04:02 AM
            0 responses
            6 views
            0 likes
            Last Post sugalt
            by sugalt
             
            Started by tradingnasdaqprueba, 04-09-2024, 09:52 AM
            6 responses
            30 views
            0 likes
            Last Post tradingnasdaqprueba  
            Working...
            X