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:	123
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:	116
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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      151 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      303 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      243 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      174 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X