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
Comment