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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        309 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        199 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        186 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        278 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        229 views
        0 likes
        Last Post CarlTrading  
        Working...
        X