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 Rapine Heihei, 04-23-2024, 07:51 PM
      2 responses
      30 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by Shansen, 08-30-2019, 10:18 PM
      24 responses
      943 views
      0 likes
      Last Post spwizard  
      Started by Max238, Today, 01:28 AM
      0 responses
      9 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by rocketman7, Today, 01:00 AM
      0 responses
      7 views
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      28 views
      0 likes
      Last Post wzgy0920  
      Working...
      X