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 Barry Milan, Yesterday, 10:35 PM
              5 responses
              18 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by DanielSanMartin, Yesterday, 02:37 PM
              2 responses
              13 views
              0 likes
              Last Post DanielSanMartin  
              Started by DJ888, 04-16-2024, 06:09 PM
              4 responses
              13 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by terofs, Today, 04:18 PM
              0 responses
              12 views
              0 likes
              Last Post terofs
              by terofs
               
              Started by nandhumca, Today, 03:41 PM
              0 responses
              8 views
              0 likes
              Last Post nandhumca  
              Working...
              X