Skip to content
Prev 13171 / 15274 Next

quantmod EMA and SMA

Hi all,

I compare the serie from the function EMA() and the one from addEMA()

getSymbols("^FCHI")
M7=EMA(Cl(FCHI),7)
candleChart(FCHI,theme="white",subset="2015",TA=NULL)
addEMA(7)
addTA(M7,on=-1)

I don't understant why I don't obtain the same serie with the two 
functions...
Reagrds,
Olivier.