Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get List of Best Parameters from the "Test" Period of a Forward Optimization?

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

    Get List of Best Parameters from the "Test" Period of a Forward Optimization?

    Hello,

    I recently switched from MetaTrader5 to Ninjatrader. And one core component of my process is forward optimizations.

    In particular I am needing a way to take say the top 30 parameters/optimizations from the optimization period, and see how each of those 30 would have done during the test period.

    However, in Ninjatrader, it seems like it only shows how the very best parameters from the optimization period did during the test period, and shows nothing else.

    As there any way to get the output I am describing?

    #2
    Hello DantheTrader,

    Welcome to the NinjaTrader forums!

    The test period will be using the parameter set selected during the optimization period.

    "From the Start date to the End date the walk forward optimization will do a standard optimization on the number of days set for parameter "Optimization period (days)". This is known as the "In Sample" test period. After the optimization period NinjaTrader will use the best parameter combination found and test that forward on non-optimized data that has not been seen yet for the number of days set for parameter "Test period (days)". This is known as the "Out of sample" test period. Please see the graph below for a better understanding of how the walk forward results are found."

    However, the non-best-values from the optimization are not tested in the test period, only the best result will be tested.

    You could instead, just run an optimization over the date range of the optimization period.

    Or you could print (or write to file) all the information from all iterations, optimization period, and test period.
    The attached example shows how to see the date range of each iteration.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    60 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X