Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer Indicators different than chart?

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

    Market Analyzer Indicators different than chart?

    I am looking at symbol AMCC in market analyzer. I have added a couple simple indicators (pic1 attached)

    The values for the two columns are: SMA - 7.57 RSI - 6.16

    I choose send to Chart and add the same 2 indicators to the chart.

    I was expecting that the values would match the last bar in the chart that I have values for but they don't (pic2 attached).

    Why are the numbers different where are they coming from?

    The last bar in the chart is 7/24 and the last bar on the chart that has indicator data is 7/23 is that the difference?

    Thanks,
    Erik
    Attached Files

    #2
    Erik, thanks for posting the screenshots, please try aligning your CalculateOnBarClose setting for the charts and the Market Analyzer page, the chart uses this set to 'true' while the Market Analyzer loads the indicator with default to 'false'.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      I am trying to start simulation testing my strategy and I am not sure what I am doing wrong.

      same chart as my below post only this morning it looks a little different (pic2 from below post yesterday pic3 post from today).

      I have an MB Tading Demo account set up, I am connected.

      My strategy code to place an order is:

      protectedvirtualvoid MyEnterLongLimit(double limitPrice) {DrawSquare("My square" + CurrentBar, 0, Highs[0][0] + 3 * TickSize, Color.DodgerBlue);
      EnterLongLimit(
      0, false, GetNumSharesToBuy(), limitPrice, "");
      }

      The chart has the Square drawn, but I do not see any orders (pic4).

      Thanks,
      Erik
      Attached Files

      Comment


        #4
        Hi Erik, on which condition are you placing the trade? What gets you in? Is this the same one as you use for drawing the squares on the chart? Also: the way you place your limit order now, it will expire at the end of each bar if you do not resubmit them...so it might be handy to check with TraceOrders what is happening 'under the hood' to your orders - http://www.ninjatrader-support2.com/...ead.php?t=3627
        BertrandNinjaTrader Customer Service

        Comment


          #5
          I am placing the trade with this method so I would expect the order to be entered with the square is drawn. Is this the way it should work? I basically opened my chart this weekend expecting to see the square paint and the order get place, the square is drawn, but no order is placed. I will look at the trace link now.

          Thanks,
          Erik

          protected virtual void MyEnterLongLimit(double limitPrice) {

          DrawSquare("My square" + CurrentBar, 0, Highs[0][0] + 3 * TickSize, Color.DodgerBlue);

          EnterLongLimit(
          0, false, GetNumSharesToBuy(), limitPrice, "");


          }

          Comment


            #6
            Erik, that should do it I'd say, please check for any errors in the Log tab and use the TraceOrders to debug, may also be good to print out the limit price and shares to buy values for a check.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by bmartz, Today, 09:30 AM
            2 responses
            11 views
            0 likes
            Last Post bltdavid  
            Started by f.saeidi, Today, 11:02 AM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by geotrades1, Today, 10:02 AM
            4 responses
            12 views
            0 likes
            Last Post geotrades1  
            Started by rajendrasubedi2023, Today, 09:50 AM
            3 responses
            16 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by lorem, Today, 09:18 AM
            2 responses
            11 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X