Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EMA off sometimes, question about pre and post market data usage

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

    EMA off sometimes, question about pre and post market data usage

    Hi all,

    some of the screening I do is based on the EMA. I'm noticing that sometimes the values are off considerably from charts that I use. I don't expect to-the-penny precision since the algorithms can be implemented differently. I'm seeing wider divergences and, in particular, sometimes the MA's of different time frames higher or lower than in charts. For example, my chart will have a 21 period higher than the 8 but the NT will have the 8 higher than the 21.

    To be clear, many values are fine, its just some that are off. I wonder if its using pre and post market data. My provider is TDAmeritrade and it returns pre and post market bars on its historical fetch. My charts don't use pre and most market data in their computation.

    Will the Ninja EMA use pre and post market data? If so is there a way to tell it to ignore pre and post market data?

    thanks,

    john

    #2
    Hi John,

    EMAs will "carry" their historical values forward in time, so all the available historical data impacts the final value. Its calculation should be fairly standardized, but your data set could be completely different and then you'd get different results.

    If your goal is to evaluate EMA values from multiple platforms, the first step would be line up your data sets as 100% identical- how much data, what trading hours, the same source, etc. In NinjaTrader, the trading hours for intraday charts are set by the session template selected. For daily charts, the trading hours are set by the data provider you're using.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thank you, that made a big difference. I created a new session template with just the hours I want and refetched the data and its much better.

      john

      Comment


        #4
        Thanks for following up John. Glad to hear you're getting the results you expect.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 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
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X