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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X