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 NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          71 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          143 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          76 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          47 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          51 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X