Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Replay volume bars dont match Simulation

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

    Replay volume bars dont match Simulation

    I run a strat on Mirus connection today (on Sim account) and was recording it for replay at the same time.

    Then I run the same strat with same parameters on Replay using the same data I recorded earlier...

    Here is the print of random part of bars:

    Sim
    28/01 15:50:15 slope: -0.0005 MA: 1772.4986
    28/01 15:50:18 slope: 0.0000 MA: 1772.4986
    28/01 15:50:19 slope: 0.0058 MA: 1772.5044
    28/01 15:50:20 slope: 0.0470 MA: 1772.5514

    Replay

    28/01 15:50:13 slope: -0.0058 MA: 1772.5532
    28/01 15:50:18 slope: -0.0002 MA: 1772.5530
    28/01 15:50:19 slope: 0.0045 MA: 1772.5575
    28/01 15:50:20 slope: 0.0437 MA: 1772.6012

    Bars and indicators on them are a bit different... What it could be?

    I set Calculate on Bar Close = true in both cases.

    #2
    maxima,

    Perhaps you are using different starting points for your charts? Check session templates and lookback periods. Please ensure you are comparing same historical data sets too.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      there is 256 all the time.. I dont touch things I dont understand.

      The data for replay was made during the simulation I run the first strat.. So it has to be identical...

      Does NT cut volume/tick/range bars on midnight? How can I manage the starting point?

      Comment


        #4
        Depends on the historical data that is loaded up when you start the replay. Indicators calculate on the full set of data including the stuff loaded prior to the replay date. That data needs to be exactly the same. No way to know without printing full details of them from both sim run and replay run and comparing.

        NT does restart those bar types on session end as defined by the session template. You can change the starting point by changing the session template definitions.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          will do thank you

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          625 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          567 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X