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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        90 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X