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 ageeholdings, Today, 07:43 AM
          0 responses
          1 view
          0 likes
          Last Post ageeholdings  
          Started by pibrew, Today, 06:37 AM
          0 responses
          4 views
          0 likes
          Last Post pibrew
          by pibrew
           
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          12 views
          0 likes
          Last Post burtoninlondon  
          Working...
          X