Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 joselube001, Today, 12:17 PM
        2 responses
        10 views
        0 likes
        Last Post joselube001  
        Started by arangocj, Today, 12:37 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by kevinenergy, Yesterday, 12:01 PM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Kraken29, Today, 12:32 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by codeowl, 02-11-2019, 05:47 AM
        23 responses
        678 views
        0 likes
        Last Post stockbux  
        Working...
        X