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 NullPointStrategies, Today, 05:17 AM
              0 responses
              50 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              126 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              69 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              42 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X