• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market analyzer and chart return different values

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

    Market analyzer and chart return different values

    Hi

    I'm calculating the same indicator in boith a row in the Markrt analyzer and on a chart. I calculate the indicator omn a 200 tick bar, a 4000 tick bar, a day bar, and a weekly bar.

    the indicator values are the same for the daily and weekly bars. However the values are different for the tick bar calcs (22.23/25.27 for the 2k tick and
    27.11/20.05 for the 4k tick bar).

    The indicator settings (lookback) are the same and both chart and analyzer indicator settings are set to calculate on the bar close.

    Can you tell me why the indicator appears to be calcuated differently?

    thanks

    Nick

    #2
    Hi Nick:

    Thank you for your post.

    Please verify that your Session begins/ends times are both set to the same time.

    Right click within both the Market Analyzer and the Chart and go to Properties > Session begins/ends times to verify.

    The other option I would suggest is increasing your look back period within the Market Analyzer screen.

    Best regards,
    RyanNinjaTrader Customer Service

    Comment


      #3
      Lookback Setting in Market Analyzer

      Can you clarify what exactly the "lookback" period affects in the way indicators calculate? Specifically moving averages?

      I'd like clarification for 2 examples if you don't mind:

      1) I have an indicator that calculates to one if the close of the 2 minute bar is above the 20 period moving average, otherwise assume it is 0.

      If I apply this and the lookback period is set to 5 (in the MktAnalyzer ), what will the affect be and why?

      If the lookback period is set to any number less than the largest moving average value I use (I can change it to any value) will this distort the calculated moving average value used in the market analyzer?


      2) If I have an indicator that is looking for bar patterns over the last 10 bars (such as the % of bars higher than a certain price), must I set the lookback period for the entire MktAnalyzer to at least 10?
      Jim-Boulder
      NinjaTrader Ecosystem Vendor - Elephant Tracks

      Comment


        #4
        1) Then you will not have enough data for your indicator. Depending on how your indicator is coded will determine the affect. Most if not all NT indicators take into consideration "not enough bars" thus if you have a 20 period MA using NT's SMA, and you have 5 bars, I believe you would get the SMA of 5 bars etc..until 20 bars is loaded.

        2) Yes
        RayNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Ryan View Post
          Hi Nick:

          Thank you for your post.

          Please verify that your Session begins/ends times are both set to the same time.

          Right click within both the Market Analyzer and the Chart and go to Properties > Session begins/ends times to verify.

          The other option I would suggest is increasing your look back period within the Market Analyzer screen.

          Best regards,
          ...to use daily stock data,(nyse), what settings should be used?

          "Please verify that your Session begins/ends times are both set to the same time."

          ??9am-9am??

          Comment


            #6
            When using a Daily chart you will not have the ability to set the Session begins and ends times. This property is only avalaible for Minute or Tick base charts.
            Christopher J.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by aslane, Today, 01:29 PM
            1 response
            6 views
            0 likes
            Last Post aslane
            by aslane
             
            Started by itrader46, Today, 01:09 PM
            0 responses
            5 views
            0 likes
            Last Post itrader46  
            Started by elnoppo, Today, 12:38 PM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by TradingRocks, Today, 11:44 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Brillo, Today, 11:39 AM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X