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 AttiM, 02-14-2024, 05:20 PM
            12 responses
            213 views
            0 likes
            Last Post DrakeiJosh  
            Started by cre8able, 02-11-2023, 05:43 PM
            3 responses
            237 views
            0 likes
            Last Post rhubear
            by rhubear
             
            Started by frslvr, 04-11-2024, 07:26 AM
            8 responses
            117 views
            1 like
            Last Post NinjaTrader_BrandonH  
            Started by stafe, 04-15-2024, 08:34 PM
            10 responses
            47 views
            0 likes
            Last Post stafe
            by stafe
             
            Started by rocketman7, Today, 09:41 AM
            3 responses
            12 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X