Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Walk-Forward Matrix - Optimizing In / Out Sample Periods

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

    Walk-Forward Matrix - Optimizing In / Out Sample Periods

    Hello,

    Will there be a possibility to optimize periods for Walk forward optimization?
    I currently do it manually and it's really time consuming.

    Here is an example:


    Thanks!


    #2
    Hello YakusaTrader,
    Thanks for your post.

    You can optimizae the period of your strategy by checking the box next to "Optimize Data Series" inside the Strategy Analyzer. Please see the following link for more information: https://ninjatrader.com/support/help...wardProperties
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      I am referring to optimizing Start / End dates and not Data Series. P
      lease see attached.

      Many trading platforms / software have the ability to optimize "optimization period" and "testing period". Here is a link FYI. https://strategyquant.com/doc/walk-forward-matrix/

      Attached Files

      Comment


        #4
        YakusaTrader,

        You cannot optimize a DateTime parameter, so you would need add some code to the strategy to accomplish your goal. Let me know if you would like more information on how to program this manually.
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          I'm not sure if adding DateTime conditions to my script would help, but - yes please let me know how I can program that manually.

          The idea is to have iterations for "Optimization period (days)" and "Testing Period (days)".
          Example:
          "Optimization period (days)" Could be from 7 to 280 days with an increment of 7 days.
          "Testing Period (days)" " Could be from 7 to 140 days with an increment of 7 days.
          Attached Files

          Comment


            #6
            YakusaTrader,

            Now I understand what you are after. That's not going to be possible. I was thinking more along the lines of the specific date ranges of the test.

            There is an existing feature request to be able to optimize "Test period" and "Optimization period", so I will have a vote added on your behalf. The internal tracking number for that feature request is SFT-1287. Please reference this internal tracking number if you ever have questions regarding this feature request.

            When a feature request is implemented, you'll find it in the release notes: http://ninjatrader.com/support/helpG...ease_notes.htm
            Josh G.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X