Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What is the default time frame for NT?

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

    What is the default time frame for NT?

    Probably a really dumb question, but what is the default time frame for NT? Ticks?

    I want to have all calculations run with COBC = true on 1 min bars. I doubt this is the default, so do I need to specify this with something like

    Code:
    Add(PeriodType.Minute, 1);
    in the Initialize() section?

    #2
    Kevin, it would strictly depend on which chart / series you run the study / script from.

    Comment


      #3
      Thanks. This is not exactly what I had expected, so it raises a few questions (just to better understand how NT works). Hopefully you can help me better understand the relationship and/or requirement for charts in an automated strategy.

      My plan is to use a custom set of stocks (say 200 in total) and have the automated strategy scan these using a 1 min bar as the operative timeframe.

      1. Does this require each stock to have an open chart?

      2. Does a chart actually need to be open or does simply defining the time frame as 1 min suffice?

      3. If a chart being open is a requirement for NT, would having only 1 chart open from the presected set allow for monitoring and trade execution for the entire list?

      In essence, I just want my strategy to run against a set of pre-selected stocks without drawing too many objects which could impact performance.

      Comment


        #4
        You're welcome, a chart does not have to be open - you can create a MultiSeries strategy that would just Add() internally the bars series needed for your calcs / signals. Or another way would be starting the strategies on your instrument list in the Strategies tab in NT's Control Center - however keep in mind strategies started from there would not be visualized at all - it would be just a high performing mode to run strategies for execution sakes alone.

        Hope that helps, have a good Friday,

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          You're welcome, a chart does not have to be open - you can create a MultiSeries strategy that would just Add() internally the bars series needed for your calcs / signals.
          Was what I had posted initially the correct code for this? If not, can you show me how this would be achieved?

          Thanks again,

          Kevin

          Comment


            #6
            Yes, correct, this is how you would Add() a one minute bar. In your calculations in the OnBarUpdate() filter with BarsInProgress between the added series -



            To get a complete view of our MultiSeries framework the following link from our helpguide is very helpful - http://www.ninjatrader.com/support/h...nstruments.htm

            Comment


              #7
              Blisteringly fast response time - an uncommon pleasure for most support forums. Thanks.

              Comment


                #8
                Thanks for the kind words, we appreciate it. A good upcoming weekend,

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                579 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X