Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Doubt with the calculation of EMA-s

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

    Doubt with the calculation of EMA-s

    If I load a 1-day chart (50-day history) with an average of 43,200 periods, what EMA value does NinjaTrader show me on the chart if it doesn't have 43,200 daily bars? How can it possibly draw the EMA? Shouldn't there be at least 43,200 daily bars?

    Thanks in advance for your help.

    ​​Click image for larger version

Name:	image.png
Views:	101
Size:	40.4 KB
ID:	1326024

    #2
    Hi BIOK.NT,

    Based on the EMA formula, we notice that calculating the EMA does not require a specific number of bars.

    In other words, the EMA value is always calculated immediately, without needing to wait for the number of candles specified in the Period parameter.

    Click image for larger version

Name:	image.png
Views:	95
Size:	12.6 KB
ID:	1326063
    Regards,
    William
    ninZa
    NinjaTrader Ecosystem Vendor - ninZa.co

    Comment


      #3
      Hello BIOK.NT,

      William is correct.

      If there are less bars than the Period, the available bars will be used for the calculation.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X