Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

First Bar of Session

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

    #16
    What I notice is in back testing it does not enter as soon as the session hi or lo is broken but after a close above the hi or below the lo. Can it be made to enter as soon as price crosses the hi or lo? Even though I have used the current price in the builder code.
    Thanks.

    Comment


      #17
      Hello Trader17,

      In historical data, Calculate is always set to OnBarClose.

      To trigger actions before a bar closes, it is necessary to trigger actions intra-bar which requires intra-bar granularity or TickReplay.

      Below is a link to a forum post that details.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        So I need to make sure that Tick Replay is checked before I add the Strategy on a live chart to be able to take trades intra bar?
        Thanks.

        Comment


          #19
          Hello Trader17,

          Yes, you would need Tick Replay enabled in the Data Series window before enabling the strategy and you would need to set Calculate to either 'On each tick' or 'On price change'.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          93 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          138 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
          123 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          73 views
          0 likes
          Last Post PaulMohn  
          Working...
          X