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 lightsun47, Today, 03:51 PM
          0 responses
          5 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          9 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          45 views
          0 likes
          Last Post futtrader  
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          9 views
          0 likes
          Last Post port119
          by port119
           
          Working...
          X