Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Walk foward

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

    Walk foward

    In a walk forward backtests are executed for the optimization period (in sample) and for the test period (result). For example I execute a walk forward with an optimization period of 4 years and a test period of 1 year with one variable to optimize with 3 choices. So 3 backtest are run for the first optimzation period and 1 backtest for test period based on the outcome of the optimization backtests. This gives 4 different backtests (3 times for the optimization period and 1 time for the test period) This process is repeated for each optimization perdiod of 4 years. Is there a way that I can check in the strategy code if the backtest executed is a backtest for the optimzation period or for the the test period?

    I checked several variables. For all backtests the category variable is WalkForward and the account name variable is Backtest. So I am looking for a way that I can check with a variable for which period the backtest is run, for the optimzation period or the test period.

    #2
    Hello Renejm,

    Unfortunately, there is not a property for this.

    I'm only aware of the dates of the data that could identify this.

    WalkForwardTest_NT8.zip
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X