Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Discrepancy Between Market Analyzer Values and Chart/Output Window

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

    Discrepancy Between Market Analyzer Values and Chart/Output Window

    Howdy--

    I have built a custom indicator that writes certain values to several Plots, which were initialized via Initialize() and exposed as public DataSeries in Properties.

    I have printed the values in question to the Output Window, and the values are correct in the Output Window, but the values are not correct in the Market Analyzer window.

    I have the chart and MA both set to load 100 days, 60 min, price type Close and COBC = false.

    Head scratcher.

    Any ideas on why the MA window is getting different values?

    Thanks,

    Aventeren

    #2
    Aventeren,

    Thank you for your post.

    The Market Analyzer uses a Number of bars to load versus a number of days like the chart.

    You would need to change the Market Analyzer to match roughly the number of bars in the chart.

    60 min plus 100 days is roughly 2400 bars that you would need to load for the Market Analyzer

    Additionally, you could change the Chart Data Series to match the bars in the Market Analyzer
    • Right click in the chart and select Data Series
    • Find property, Load data based on...
    • Select Bars
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Cal View Post
      Aventeren,

      Thank you for your post.

      The Market Analyzer uses a Number of bars to load versus a number of days like the chart.

      You would need to change the Market Analyzer to match roughly the number of bars in the chart.

      60 min plus 100 days is roughly 2400 bars that you would need to load for the Market Analyzer

      Additionally, you could change the Chart Data Series to match the bars in the Market Analyzer
      • Right click in the chart and select Data Series
      • Find property, Load data based on...
      • Select Bars
      Good catch on days vs bars, which i clearly missed. Thanks, that did it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      71 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      43 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      25 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      28 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      56 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X