Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Is this possible?

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

    Is this possible?

    I have a daily strategy which has 1 variable to modify. I would like to run a backtest which optimizes this variable every day. This variable will be printed or plotted each day.

    #2
    To clarify...I optimize100 days and I get my one variable to print the set point. Then I optimize 101 days and it prints the set point. etc.

    Comment


      #3
      What I'm trying to say, is there a way to modify backtest type?

      Comment


        #4
        Hello eleven,

        Are you wanting to make an input that will be optimized over?

        For example the SMA indicator has a Period input that is an integer that can be optimized over.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Not exactly. What I'd like to do is optimize a variable over 100 days. Then optimize the same variable over 101 day. On and on...for thousands of days in a row. The optimized variable would print to the output window. It would show the if the optimized variable drifts over time.

          Basically, it is possible to modify or create new backtest type?

          Comment


            #6
            Hello eleven,

            It is possible to make optimization scripts.


            But you can increment a variable on each new session in each iteration for that iteration.

            You can optimize an input from 1 to 100.

            If the variable needs to change on each new day for every iteration, just increment the variable.

            If the variable stays the same for the iteration and is different from each other iteration, just optimize an input from 1 to 100.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Thanks. This helps me out.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by claxxical, 05-30-2017, 12:30 PM
              37 responses
              4,452 views
              0 likes
              Last Post Padan
              by Padan
               
              Started by SugarDefwebsite, Today, 02:18 AM
              0 responses
              3 views
              0 likes
              Last Post SugarDefwebsite  
              Started by usglucofreeze, Today, 01:19 AM
              0 responses
              7 views
              0 likes
              Last Post usglucofreeze  
              Started by f.saeidi, Today, 01:12 AM
              0 responses
              13 views
              0 likes
              Last Post f.saeidi  
              Started by NinjaTrader_ChelseaB, 03-14-2017, 10:17 AM
              227 responses
              34,319 views
              7 likes
              Last Post rare312
              by rare312
               
              Working...
              X