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 helpwanted, Today, 03:06 AM
            0 responses
            3 views
            0 likes
            Last Post helpwanted  
            Started by Brevo, Today, 01:45 AM
            0 responses
            6 views
            0 likes
            Last Post Brevo
            by Brevo
             
            Started by aussugardefender, Today, 01:07 AM
            0 responses
            5 views
            0 likes
            Last Post aussugardefender  
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            242 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            384 views
            1 like
            Last Post Gavini
            by Gavini
             
            Working...
            X