Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Periods used for Walk Forward Testing

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

    Periods used for Walk Forward Testing

    Do I understand what periods the Walk Forward is using:
    If I select:
    Optimization period : 20
    Test Period: 10
    The the optimizer will use the first 20 days to optimize then test on the next 10.
    It will then move forward 30 days(Optimize +Test) to the next period and again use the first 20 days in this period to optimize.

    My Strategy uses 40 bar requirement to start. This uses a significant amount of the new test space on each walk forward.

    If what I understand is correct it would be helpful if the walk forward only advanced for the length of the test period (10 days in my example) rather than 30 days.
    You would then be optimizing on an overlap of the old test period and the 10 days of out of sample. I think this would give you a much better understanding of how the indicator will work on the underlying data.

    This would be more inline with what most people do in real time.

    #2
    >> It will then move forward 30 days(Optimize +Test) to the next period and again use the first 20 days in this period to optimize.
    Incorrect. It will roll by the testing period (10 days).

    Comment


      #3
      Thanks Dierk. I understand now.
      What was confusing me is that the lookback period (40 bars in my case) for the Out of sample data is taken from the start of the out of sample period rather than from the last of the test sample data. This is how I would do it in real time.

      I have another question.

      Ran an Walk Forward on a period from 10/08/2007 to 11/23/2007. The Walk Forward panel has exclude weekend = true.

      The walk forward results show the dates:
      10/28/2007 - 11/06/2007
      11/07/2007 - 11/16/2007
      11/17/2007 - 11/23/2007

      Looks like the test period of 10 days includes the weekend count in the increment but not in the chart or computations.

      Comment


        #4
        >> Looks like the test period of 10 days includes the weekend count in the increment
        Correct

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by selu72, Today, 02:01 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by WHICKED, Today, 02:02 PM
        2 responses
        10 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by f.saeidi, Today, 12:14 PM
        8 responses
        21 views
        0 likes
        Last Post f.saeidi  
        Started by Mikey_, 03-23-2024, 05:59 PM
        3 responses
        51 views
        0 likes
        Last Post Sam2515
        by Sam2515
         
        Started by Russ Moreland, Today, 12:54 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X