Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ema's not displaying correctly

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

    Ema's not displaying correctly

    On a chart I had an 8 period EMA and a 21 period EMA. The chart shows a great deal of space between them but the data box shows the same value for both EMAs'. Please see attached picture.
    Attached Files

    #2
    Hello

    Thank you for your post.

    After this 5 Range bar closed were the values of the EMA’s equal? Were they are that point together?
    ChipNinjaTrader Customer Service

    Comment


      #3
      The price changed on the next bar. The 2 ema's did not cross for almost another hour. The values change seemingly correctly until the lines get within a couple of ticks of each other. The same thing occurred twenty minutes later.

      I would like to know if the data box is correct or is the chart correct.

      Comment


        #4
        Hi ThatManFromTexas,

        In this case, both are technically correct.

        The databox is truncating the full value that the indicator is putting out at the first decimal. The indicator chart does not suffer from this type of limitation for display purposes.
        KyleNinjaTrader Customer Service

        Comment


          #5
          Say Whut?

          Bear with me, I'm old. I don't follow what you just said.

          If the values were the same the two ema's would touch.

          TF 12-10 only has one decimal place to the right of the decimal.

          What is being truncated?

          The Y-Axis shows the same values as the Data Box.

          Are you saying this is some sort of rounding error?

          Comment


            #6
            ThatManFromTexas,

            What I'm saying is this:

            The databox shows price values only. Since this instrument's ticks move only 1 decimal out, that is what is shown. (ex: 768.7)

            The indicator, on the other hand, is making calculations which more often than not do not fall on a even price value, but instead end up with fractions. (ex: 768.7xxxxxxx)

            While the indicators are displayed on the chart at their actual output level (768.7xxxxxxx), those same indicators are displayed in the databox using the closest price value, in this case 768.7.

            Does that clear things up?
            KyleNinjaTrader Customer Service

            Comment


              #7
              Ok, I get it now ..... I will need to re-write the EMA indicator provided by NT if I want accurate charts.

              Comment


                #8
                You EMA indicator is correct, the databox displays it inaccurately.

                Dan
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #9
                  eDanny,

                  As usual , you are correct sir . I was just irritated that it happened while I was trading live and spooked me.

                  Regards,
                  TMFT

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by knowmad, Today, 03:52 AM
                  0 responses
                  16 views
                  0 likes
                  Last Post knowmad
                  by knowmad
                   
                  Started by tradingnasdaqprueba, Today, 03:42 AM
                  0 responses
                  11 views
                  0 likes
                  Last Post tradingnasdaqprueba  
                  Started by Haiasi, 04-25-2024, 06:53 PM
                  4 responses
                  63 views
                  0 likes
                  Last Post effraenk  
                  Started by ccbiasi, 11-23-2017, 06:06 AM
                  5 responses
                  2,210 views
                  0 likes
                  Last Post leodavis  
                  Started by kujista, Yesterday, 12:39 AM
                  2 responses
                  14 views
                  0 likes
                  Last Post kujista
                  by kujista
                   
                  Working...
                  X