Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to preset values in the strategy script for the optimization min, max, increment

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

    How to preset values in the strategy script for the optimization min, max, increment

    Can I set the values that appear in the Strategy Analyzer properties panel for Property min, max and increment, via script in the Strategy?

    It seems I am constantly resetting these values if I go from SA Optimization to Backtest and back.

    Thanks

    #2
    adamus, unfortunately you can't programmatically set those properties.

    Comment


      #3
      Can you put that on the list of requested enhancements?

      I find that changing the value of the variable for the optimization property via script in the Initialize or OnStartUp event mucks up the defaults I save on the Properties panel.

      Comment


        #4
        Sure adamus, I'll forward it as enhancement suggestion.

        Comment


          #5
          That would be cool.

          If anybody wonders why, it's because I have to hardcode the value of the optimization parameter so that I don't get it wrong when I actually set up the Strategy to trade. Plus other reasons.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          597 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          555 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X