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

Optimize Data Series for enum values

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

    Optimize Data Series for enum values

    Hi,
    It is possible to optimize data series in Strategy Analyzer by checking "Optimize Data Series", specifying Min. and Max. Value of the Data Series and an Increment.
    However, instead of stepping from Min to Max in (static) increments (e.g. 1 - 30 mins, 1 -> 1, 2, 3, 4, 5, ... , 30), I'd like to step through an enum of "allowed" values only (e.g. 1, 2, 3, 5, 10, 15, 30), thereby reducing the number of parameter combinations and optimization runs to my needs.
    Can you please shed some light on how to determine through NinjaScript that (my)BarsPeriodType.Minute of primary data series is not an int, but an enum?
    Thank you.
    Kind regards
    NT-Roland

    #2
    Hello NT-Roland,

    I'm not aware of a way to do this.

    I will submit a feature request on your behalf to control the optimizing incrementing of data series values with an enum.

    Once I have a tracking ID for this request I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello NT-Roland,

      I've received tracking ID# SFT-3812 for this reques to optimize incrementing of data series with an enum.

      Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.

      We appreciate your feedback on this.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,290 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      8 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      8 responses
      61 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Option Whisperer, Today, 09:55 AM
      0 responses
      8 views
      0 likes
      Last Post Option Whisperer  
      Started by halgo_boulder, 04-20-2024, 08:44 AM
      2 responses
      24 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X