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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          43 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          30 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          48 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          38 views
          0 likes
          Last Post CarlTrading  
          Working...
          X