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.
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,788 views
          0 likes
          Last Post aligator  
          Started by Jimmyk, 01-26-2018, 05:19 AM
          6 responses
          835 views
          0 likes
          Last Post emuns
          by emuns
           
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          6 responses
          3,291 views
          1 like
          Last Post jgualdronc  
          Started by Touch-Ups, Today, 10:36 AM
          0 responses
          11 views
          0 likes
          Last Post Touch-Ups  
          Started by geddyisodin, 04-25-2024, 05:20 AM
          11 responses
          62 views
          0 likes
          Last Post halgo_boulder  
          Working...
          X