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 CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            245 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            157 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            165 views
            1 like
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            250 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            201 views
            0 likes
            Last Post CarlTrading  
            Working...
            X