Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimizer parameters

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

    Optimizer parameters

    I have a number of parameters for my strategy. I've grouped them in back testing by defining them like this within the properties region:

    Code:
            [Category("StochRSI")]
            public int UParm4
            {
                get {return uparm4;}
                set {uparm4 =  Math.Max(0, value);}
            }
    This worked fine. The parameters were well organized and in the back testing dialog box I was able to click on the + or - to open or close groups of parameters.

    The problem is that when I try to optimize I'm not able to set a range of values for any parameters that have their category set to anything other than "Parameters". These variables are limited to only one value and can not be optimized.

    Is there a way I can accomplish grouping parameters and have them available for optimization?

    #2
    Phyre, unfortunately not supported for NinjaTrader 6.5 - for NinjaTrader 7 we unified those aspects and those custom categories would be picked up in the optimization as expected then.

    Comment


      #3
      Just name them in alphabetical order, like:
      public int p100_UParm4

      public int p110_abc

      Comment


        #4
        parameters

        Will NT7 allow other types of variables like arrays? or enum?

        Comment


          #5
          You can do that in 6.5. It is though unfortunately outside the scope that we can offer support for though.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, Yesterday, 10:06 AM
          0 responses
          20 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          18 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          14 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          9 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          38 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X