[R-SIG-Finance] quantmod EMA and SMA

Olivier MARTIN Olivier.Martin at avignon.inra.fr
Mon Mar 9 14:14:44 CET 2015


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.



More information about the R-SIG-Finance mailing list