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 chbruno, 04-24-2024, 04:10 PM
            4 responses
            50 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            10 responses
            398 views
            1 like
            Last Post beobast
            by beobast
             
            Started by lorem, Yesterday, 09:18 AM
            5 responses
            20 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by WHICKED, Today, 12:56 PM
            2 responses
            15 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Felix Reichert, Today, 02:12 PM
            0 responses
            4 views
            0 likes
            Last Post Felix Reichert  
            Working...
            X