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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        64 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X