Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization for a live strategy

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

    Optimization for a live strategy

    Hello,

    So lets say I have a strategy that I would like to trade live with 20 variables. These variables need to be optimized before trading live, so I've been going and running the optimization manually then copying and pasting the values into a new strategy file then saving it something like "StrategyNameV1_Instrument.cs", then when I add the strategy for actual trading I would activate that one and all of the variables would be automatically set.

    Is this a easier way to do this? For example, it would be nice if there was a way you could run an optimization job from the strategy when you turn it on and it would set the variables to whatever they were suppose to be. Or, in the optimization results you would click "Save as new strategy" and it would add some automatically generated code to setup the variables for you .

    Thanks,

    Evan

    #2
    Hello,

    You can save different default settings for a strategy without hard code changing the variables. You can do this by right clicking the strategy properties and clicking Set Default For ...

    I will have your suggestion to duplicate strategies with a different name submitted to development and reply once it has been logged.
    Attached Files
    LanceNinjaTrader Customer Service

    Comment


      #3
      Hello,

      I am informing you this request has been logged by development and assigned ID: #2109

      Please let me know if I can be of further assistance.
      LanceNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      32 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      14 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      23 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X