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 WHICKED, Today, 12:45 PM
                  2 responses
                  18 views
                  0 likes
                  Last Post WHICKED
                  by WHICKED
                   
                  Started by GussJ, 03-04-2020, 03:11 PM
                  15 responses
                  3,276 views
                  0 likes
                  Last Post xiinteractive  
                  Started by Tim-c, Today, 02:10 PM
                  1 response
                  8 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by Taddypole, Today, 02:47 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post Taddypole  
                  Started by chbruno, 04-24-2024, 04:10 PM
                  4 responses
                  51 views
                  0 likes
                  Last Post chbruno
                  by chbruno
                   
                  Working...
                  X