Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Real Time vs. Backtesting Indicator Values - Very inconsistent

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

    Real Time vs. Backtesting Indicator Values - Very inconsistent

    Guys,
    I am running into some very confusing chart behavior when it comes to real time vs. backtesting results.

    This morning I was running some back tests on the TF 06 chart and my live results were very different from my backtesting results. The difference being the moving averages were not the same. After scratching my head, I decided to refresh my historical data, and guess what.

    After I selected Reload All Historical Data on my live chart, the live chart changed its values/presentation and everything synced up PERFECTLY to my backtesting values.

    Is this correct behavior?

    Do I need to constantly refresh my data or is there another explanation.

    I really need to get a very good understanding of how the "live" data is reformatted once you hit the reload button.

    #2
    gyoung,

    This is caused by the programming of the particular indicator. You will need to debug it to isolate difference in calculations when you are using it in real-time with CalculateOnBarClose = false.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      My charts include SMA and EMA.
      These values also change when I hit refresh.
      I put these on the chart to eliminate the issues with custom code.

      Comment


        #4
        If you reload your data and your data set actually changes then you will get different results, this is expected. If you persist the same data set your values will not change for standard NT indicators. Whether or not the values change on your custom indicator depends on the indicator programming as mentioned in my previous post.

        Historical data sets can be different. Data providers can run different historical servers vs. real-time servers. As you reload you pull from a different server with different data.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Understand.
          thanks,

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          599 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          344 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          558 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          557 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X