• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EMA Indicator Problem

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

    EMA Indicator Problem

    Hello together,

    I have problems with the EMA indicator. When I use this indicator in the way "EMA(24)[0]" (I use a variable "stdEMAPeriod" for that) I get diverent values in MarketAnalyzer and StrategyAnalyzer for the same day when the "time Frame from" in StrategyAnalyzer is older then the "BarsRequired" (in my case 81). I used the stock CBK.DE for my tests.

    Here are some samples:
    MarketAnalyzer (06.03.2015 Quote data until 05.03.2015 EOD)
    + Time[0] {09.02.2015 17:30:00} System.DateTime
    CurrentBar 81 int
    EMA(stdEMAPeriod)[0] 11.031698723765169 double

    StrategyAnalyzer Data Start 01.10.2014
    + Time[0] {09.02.2015 17:30:00} System.DateTime
    CurrentBar 93 int
    EMA(stdEMAPeriod)[0] 11.032157561223869 double

    StrategyAnalyzer Data Start 03.10.2014
    + Time[0] {09.02.2015 17:30:00} System.DateTime
    CurrentBar 91 int
    EMA(stdEMAPeriod)[0] 11.031900273423824 double

    StrategyAnalyzer Data Start 17.10.2014
    + Time[0] {09.02.2015 17:30:00} System.DateTime
    CurrentBar 81 int
    EMA(stdEMAPeriod)[0] 11.031698723765169 double

    How can that be? I expect on a specific date of the stock the same value for "EMA(stdEMAPeriod)[0]" as long as I have enaugh bars to calculate it.

    Can please somebody verify it or tell me what I'm doing wrong?

    Thank's to all .
    Oliver
    Last edited by Icepick2011; 03-06-2015, 07:04 AM.

    #2
    Welcome to our forums Oliver, we have just replied to your direct note sent on this to support.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ballboy11, Today, 01:04 PM
    0 responses
    2 views
    0 likes
    Last Post ballboy11  
    Started by ntbone, Today, 12:15 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ballboy11, Today, 12:32 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brownsfan019, Today, 12:04 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by x86231933, Today, 10:48 AM
    2 responses
    20 views
    1 like
    Last Post TopGunNote  
    Working...
    X