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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    155 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    307 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    244 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    345 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    176 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X