Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Checking how NT handles orders with options set as I have them

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

    #16
    adamus,

    Max bars lookback is not a setting for how much data is loaded. Max bars lookback is simply a setting for how many bars are allowed for use in NinjaScript calculations. For how many bars you want to actually load you would need to set this up on your chart. If you are trying to run the strategy from the strategies tab you would determine this by choosing how many days to load when you add the strategy.
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      you mean 'Minimum bars required'?

      Comment


        #18
        adamus,

        There are many settings. Please clarify which one you are talking about exactly.

        Min. bars required = how many bars are needed to exist on the chart prior to any strategy logic being processed

        Maximum bars look back = the maximum number of bars your NinjaScript can look back historically and grab values from for things like DataSeries objects
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          I am asking whether I should use 'Min bars required' = 50 to make sure that the strategy loads up 50 bars of history for the moving averages & standard deviations I am using before it activates.

          Comment


            #20
            Yes. Setting to 50 will prevent any strategy processing until 50 bars exist on your chart. This means your indicator values will have properly calculated values by that time.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            626 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            359 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            562 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            567 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X