• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 harjinderjit, Today, 08:24 PM
            0 responses
            8 views
            0 likes
            Last Post harjinderjit  
            Started by Againmain1, Today, 03:04 AM
            1 response
            24 views
            1 like
            Last Post NinjaTrader_ShawnB  
            Started by jmahon, Yesterday, 11:44 PM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by Tomhgriff1, 01-03-2020, 04:07 AM
            4 responses
            47 views
            0 likes
            Last Post bkonia
            by bkonia
             
            Started by cary1267, Today, 09:37 AM
            1 response
            24 views
            0 likes
            Last Post NinjaTrader_ShawnB  
            Working...
            X