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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X