Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Saving backtest parameters?

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

    Saving backtest parameters?

    Hi there,

    I setup backtest parameters (including non-user inputs like time frame, bars required). I close Ninjatrader, "saving default workspace". I reopen Ninjatrader...

    And then all of a sudden, the parameters are back to their defaults. A little annoying.

    Is there a way to save these parameters? Ideally each instrument list could remember their own... but that might be asking too much. Thanks in advance.

    #2
    heech,

    You can set default values of your variables in your code, like "myval1 = 1" etc, and when the backtest is loaded and the params dialog box opens, it will default to those values.

    I do not know a way to change the default data interval period.

    ---

    I'd like to piggy back a question here --- is there a way to make strategy analyzer default to currency instead of percentage? I tried saving the workspace, no difference --- I have to change it Every. Single. Time. and it's just a small annoyance.

    Thanks.

    Comment


      #3
      Hi,



      Unfortunately it is not possible to save this setting in the strategy analyzer.
      MichaelNinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Michael View Post
        Hi,



        Unfortunately it is not possible to save this setting in the strategy analyzer.
        I've seen 'Parameters Save' input in a strategy in the strategy anayzer backtest page that saves current inputs. Is this a Ninja 7 command or feature, or special code?

        Comment


          #5
          Correct, this is a new NT7 feature : you can right click in the SA parameters and save a 'default' set per strategy.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          88 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          31 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          34 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          68 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X