Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Initialize value of Time Series in a Strategy

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

    Initialize value of Time Series in a Strategy

    Hello,

    Is there a way I can initialize in a strategy the default value of what appears in the Data series box in the backtest panel.(Type and Value)

    Let's say I'd like by default to run a strategy on 5 Minute bars. Is there an instruction I can put these value in the Initialize( ) section.

    I don't mean adding a Period.Type, just setting the default one (eg the one that is linked to BarsInProgress==0)

    Thank you.

    #2
    Unfortunately this is not supported.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Initialize Data Series

      Originally posted by NinjaTrader_Josh View Post
      Unfortunately this is not supported.
      Thank you Josh. Will this be supported in version 7?

      Comment


        #4
        In 7, you can set defaults via the UI, not from code.
        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
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        574 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X