Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Minimum Holding Period

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

    Minimum Holding Period

    I am attempting to create a VERY short term trading strategy, but am running into the backtesting glitch where the majority of my trades fill and close out of order on the same bar. The issue can be solved by assigning a minimum holding period of 2 bars (which would force the transaction into order by introducing a new bar into the equation before the trade can close). However, I am not sure how to include a minimum bar requirement into my strategy parameters. Any advice/assistance would be much appreciated.

    Thanks,

    rwh

    #2
    Welcome to our forums rwh and thanks for the post - for your backtesting issue I would suggest you look into this useful shared example strategy here - http://www.ninjatrader.com/support/f...whipsaw&desc=1

    Comment


      #3
      Thanks Bertrand. I really appreciate it. I tried using the search function but didn't pull up anything as useful as this. Much obliged.

      -rwh

      Comment


        #4
        You're welcome rwh, glad that helped!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        150 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X