• 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

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).
    DierkNinjaTrader Customer Service

    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
        DierkNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rgoudie, Today, 08:11 PM
        0 responses
        1 view
        0 likes
        Last Post rgoudie
        by rgoudie
         
        Started by futures2020, 03-19-2020, 03:08 PM
        2 responses
        21 views
        0 likes
        Last Post ccl3093
        by ccl3093
         
        Started by taylorv817, Today, 07:19 PM
        0 responses
        3 views
        0 likes
        Last Post taylorv817  
        Started by harjinderjit, Today, 06:41 PM
        0 responses
        10 views
        0 likes
        Last Post harjinderjit  
        Started by tipslark, Today, 07:23 AM
        1 response
        31 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X