Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

exiting on bar close

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

    exiting on bar close

    i'd like to enter a trade during intra bar. but then exit when the intra bar closes. (this is on a 35 second chart timeframe). i'm not sure how to express that in the strategy builder. would it be a group and 'any' close greater or equal to open and close less than or equal to open 1 bar ago?

    #2
    Hello SteveReiza,

    To confirm Calculate is set to OnPriceChange or OnEachTick and you want to exit after the bar closes, is this correct?

    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thanks for the reply. yes, it's set to update on tick. correct, i'd like to exit on bar close no matter what - on the 35 second bar when it goes from [0] intrabar to [1] 1 bar ago. after, it closes and goes to the next candle.

      Comment


        #4
        Hello SteveReiza,

        Checking IsFirstTickOfBar in the conditions for the exit order should do the trick.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          thanks for the reply. oh, sweet. that works! appreciate the guidance!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          87 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          132 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          65 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          118 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          67 views
          0 likes
          Last Post PaulMohn  
          Working...
          X