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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        64 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Working...
        X