Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

tagging an exit

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

    tagging an exit

    Hello,
    I would like to tag certain exit orders in my strategy as part of a reentry condition for future orders. I'm wondering if simply setting a bool flag on those particular exits would do the trick or is there something else more involved?
    Thanks

    #2
    Hello CaptainAmericaXX,

    It really depends how you want to use the exit as a condition. I would take a look at the built in function BarsSinceExit().


    That tells you the number of bars that has passed since an exit or a specific exit.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      That will do it. Thanks again Ryan.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      569 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      548 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X