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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Walk foward
Collapse
X
-
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.Tags: None
-
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.zipChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment