• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer - Optimization - Decimal steps?

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

    Strategy Analyzer - Optimization - Decimal steps?

    Is it possible to set decimal steps for double parameters? When I set them NT change them for integers, but I would need to use decimals. For example: 0,1;0,6;0,2 Isn't it possible?

    #2
    Hello manugarc,

    No, the Strategy Analyzer is only able to increment by 1 in an optimization.

    You could instead use an integer as the input, divide this by 100 and store the value to a double.

    Then as the integer input is incremented, this is calculated to a decimal.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello manugarc,

      No, the Strategy Analyzer is only able to increment by 1 in an optimization.

      You could instead use an integer as the input, divide this by 100 and store the value to a double.

      Then as the integer input is incremented, this is calculated to a decimal.
      Thank you Chelsea; That's in fact how I'm doing it, but I expected to be able to avoid it; it's not a mayor problem anyway, I'll keep it like that, as you say.

      Comment


        #4
        Hello ChelseaB, manugarc,

        I am facing the same issue. Could you please explain your answer a bit further (an example would be extremely helpful, if at all possible)? I did not quite understand it. My Parameters for optimization are "double", and I would like to use Increment "double" value as well.

        Thank you
        David

        Comment


          #5
          Hello Paco0,

          I believe what ChelseaB was suggesting was to divide the existing input you may have by 100, for example if you had an input named myInputProperty that was an int:

          Code:
          double myDouble = myInputProperty / 100;
          I look forward to being of further assistance.
          JesseNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by babouin77, Today, 06:23 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by schwamm, Today, 04:26 AM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_ChristopherS  
          Started by Yaron, Today, 04:01 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChrisSch  
          Started by corman, Today, 04:28 AM
          0 responses
          12 views
          0 likes
          Last Post corman
          by corman
           
          Started by elliot5, Today, 04:20 AM
          1 response
          10 views
          0 likes
          Last Post elliot5
          by elliot5
           
          Working...
          X