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 CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          17 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          120 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          174 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          92 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          134 views
          0 likes
          Last Post cmoran13  
          Working...
          X