• 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 Coursocied67, Today, 04:02 AM
    0 responses
    1 view
    0 likes
    Last Post Coursocied67  
    Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
    7 responses
    35 views
    0 likes
    Last Post DaveS
    by DaveS
     
    Started by scfnkysx, Today, 12:30 AM
    0 responses
    4 views
    0 likes
    Last Post scfnkysx  
    Started by jimloforkocv, Today, 12:16 AM
    0 responses
    4 views
    0 likes
    Last Post jimloforkocv  
    Started by claxxical, Yesterday, 10:00 PM
    0 responses
    8 views
    0 likes
    Last Post claxxical  
    Working...
    X