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 timko, Today, 06:45 AM
      1 response
      7 views
      0 likes
      Last Post gaz0001
      by gaz0001
       
      Started by Waxavi, 04-19-2024, 02:10 AM
      3 responses
      41 views
      0 likes
      Last Post gaz0001
      by gaz0001
       
      Started by Max238, Today, 01:28 AM
      2 responses
      26 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by Shansen, 08-30-2019, 10:18 PM
      25 responses
      949 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by JonesJoker, 04-22-2024, 12:23 PM
      8 responses
      43 views
      0 likes
      Last Post JonesJoker  
      Working...
      X