Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization, not seeing the Min, Max, Increment fields

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

    Optimization, not seeing the Min, Max, Increment fields

    I have a strategy and am trying to run an optimization using Strategy Analyzer.
    I can see the parameters in the list but they don't have the Min/Max/Increment fields.

    Do you have any idea why?

    #2
    Hello onnb1,

    Thank you for your note.

    Are you seeing the same behavior with the SampleMACrossover stategy preloaded on NinjaTrader?

    If so, have you clicked the right pointing arrows next to the parameters? I highlighted this in the attached screen shot.

    I look forward to your reply.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      The SampleMACrossover is working ok. I can see the entry fields for optimization.
      For my strategy, I see the parameters i have created but they don't have that pointing arrow.
      Is it because my parameters are type double?

      Comment


        #4
        Did some more tinkering.



        [Range(1, int.MaxValue), NinjaScriptProperty]

        When I add that to the property, the little right arrow appears so I understand its not related to double.

        I assume that directive is mandatory for the little right arrow to appear?







        Comment


          #5
          Hello onnb1,

          Yes, the NinjaScriptProperty tag, but the range is not necessary.

          See the following section of our helpguide,



          Please let us know if you need further assistance.

          Alan P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          23 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          120 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          63 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          41 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          45 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X