Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

LineBreak bars do not load correctly in real time

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

    LineBreak bars do not load correctly in real time

    When running a strategy live vs in a backtest, LineBreak bars load differently. I have gotten more or fewer breaks in the live environment and then when I pull up a chart ~12 hours later, the bars are corrected

    #2
    Hello samish18,

    LineBreak bars are like renko bars and change the open.

    This bar type (as well as renko bars) build different in backtest and cannot be used with TickReplay.



    I would recommend instead testing using Playback with Market Replay data.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I am not referring to a changing open price, I am referring to a different number of bars altogether. I printed the time and indicator values of each bar for a live test and backtest - the first bars 9/25 were different (as in more breaks)
      Attached Files

      Comment


        #4
        Hello samish18,

        To confirm, you are no longer using LineBreak bars which form differently in backtest due to the nature of this bar type changing the open?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          I am using LineBreakbars. I am well aware that the open of linebreak bars repaints. My issue is that, as shown in the previously attached files the bars load differently not just in opens, but in breaks. Please look at the first bars on 9/25 in the two files - on has far more frequent breaks than the other

          Comment


            #6
            Hello samish18,

            LineBreak bars can form differently in backtest which can affect bars moving forward.

            You could also right click the chart and Reload all historical data if you feel there are gaps in the data.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            119 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            62 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            40 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            45 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            82 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X