Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different Results between strategy analyzer and running strategy live

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

    #16
    It seems that line break charts, like renko, repaint the open.

    Comment


      #17
      Hello samish18,

      Thanks for your response.

      I looked at the code for LineBreak and it does utilize IsRemoveLastBarSupported similar to Renko (although this is not mentioned in the Help Guide page for backtesting considerations).

      You are correct, they are similar to Renko in that they can change the open price after the bar is formed. This wouldn't work well for backtesting and is not compatible with Tick Replay.

      If you want to backtest using Line Break charts, it may be better to do backtesting using Playback with Market Replay for higher accuracy.

      Comment


        #18
        Would it be possible to add a minute data series to the strategy and execute orders on the minute series to correctly simulate using linebreak charts? I tried doing this and the executions are nothing like the charts

        Comment


          #19
          Hello samish18,

          You can always try implementing intrabar granularity to try to get more accurate results by submitting orders to a more granular series.



          However as mentioned, since LineBreak bars use IsRemoveLastBarSupported like Renko they are also not ideal for backtest and are very difficult to simulate historically.

          The other would be to use the Playback Connection with Market Replay data, this would simulate getting real-time data from the data that you have either recorded/downloaded.

          Comment


            #20
            Just for clarification: the close of a bar on a line break chart is the correct close, it is just the open that is incorret?

            Comment


              #21
              Hello,

              It is likely that the Close will remain the same if the ticks that built the bar are exactly the same. However, it is possible that ticks can be included with different bars because of the time stamp or that the real-time ticks are different than the historical ticks, which could cause a different Close.

              Comment

              Latest Posts

              Collapse

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