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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            86 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            125 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            64 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            117 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