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 Rapine Heihei, 04-23-2024, 07:51 PM
            2 responses
            30 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by Shansen, 08-30-2019, 10:18 PM
            24 responses
            943 views
            0 likes
            Last Post spwizard  
            Started by Max238, Today, 01:28 AM
            0 responses
            9 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by rocketman7, Today, 01:00 AM
            0 responses
            7 views
            0 likes
            Last Post rocketman7  
            Started by wzgy0920, 04-20-2024, 06:09 PM
            2 responses
            28 views
            0 likes
            Last Post wzgy0920  
            Working...
            X