Announcement

Collapse
No announcement yet.

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 NullPointStrategies, Today, 05:17 AM
              0 responses
              41 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              124 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              64 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              41 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X