Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder - Re-Entry Rule

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

    Strategy Builder - Re-Entry Rule

    Want to set a Re-Entry Rule with Strategy Builder, but don´t get the right comparison.

    var = days at least has to be passed to get again into the market. = 3

    Tried the

    Bars since Exit with Exit Executions Ago ( 3 ) equal or bigger var

    nothing happens

    means

    a condition "if" the strategy has exited, then I want to wait at least 3 days

    #2
    Hello pmmkm,

    Thanks for your post.

    With reference to the helpguide on the BarsSinceExitExecution() you would need to test for both a -1 value (when there is no previous exit) as well as the 3 bars when there has been an exit. https://ninjatrader.com/support/help...texecution.htm

    In the strategy builder you would want to build a "group" where you test for the -1 OR the Bars >= 3. You can achieve the OR function by making sure the Group is set to "If any" meaning if any of the conditions in the group are true, to proceed. For your convenience, I've attached an example of the conditions group.
    Attached Files

    Comment


      #3
      Originally posted by pmmkm View Post
      Want to set a Re-Entry Rule with Strategy Builder, but don´t get the right comparison.

      var = days at least has to be passed to get again into the market. = 3

      Tried the

      Bars since Exit with Exit Executions Ago ( 3 ) equal or bigger var

      nothing happens

      means

      a condition "if" the strategy has exited, then I want to wait at least 3 days

      works :-)
      Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X