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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X