Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest strategy parameters

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

    Backtest strategy parameters

    Hello. How to set Type=Day in "Data series" and From=01.01.1990 in "Time frame"

    #2
    Hi alexstox,

    Attached are a few screenshots to highlight how to change the bar type, load data based on, and the start date.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Sorry, I need to set these in script.

      Comment


        #4
        Hello alexstox,

        You cannot set the bar type to day and the start date to 1/1/2009 in a script.

        You can however, right-click the backtest parameters and Set As Default.

        This will load these parameters when you select this script.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_ChelseaB View Post
          Hello alexstox,
          You cannot set the bar type to day and the start date to 1/1/2009 in a script.
          You can however, right-click the backtest parameters and Set As Default.
          This will load these parameters when you select this script.
          Well, at the beginning I liked this. But than I noticed that when I change something in my strategy (for example value of variable) it doesn't change this variable in Strategy Analyzer -> Backtest's panel.
          Before I used "Set As Default" everything worked OK. How to reset this unfinished feature?!

          Comment


            #6
            Hello alexstox,

            Using 'Set As Default' causes variable settings to overwritten by what is saved in the template.

            If you want to use the settings from the script you will need to delete that default template.

            If you want the Strategy Analyzer to remember your settings reset the template with the new settings.

            The template is located in
            • Documents\NinjaTrader 7\templates\Strategy

            Delete this if you want to return to the settings set by the strategy.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X