search for: ema

Displaying 20 results from an estimated 57 matches for "ema".

Did you mean: dma
2008 Sep 25
3
OHLC Plot with EMA in it
Hi there I have some timeseries data which I plot in a OHLC Plot. In the same plot I'd like to have the EMA of this timeseries. I tried to add the EMA point to OHLC with lines(), but this doesn't work. Has anyone an idea how to handle it? Regards, Michael Zak
2011 May 05
1
quantmod's addTA plotting functions
...fine when run from the command line. But when run inside a function, only the last one run is visible. Here's an example. test.addTA <- function(from = "2010-06-01") { getSymbols("^GSPC", from = from) GSPC.close <- GSPC[,"GSPC.Close"] GSPC.EMA.3 <- EMA(GSPC.close, n=3, ratio=NULL) GSPC.EMA.10 <- EMA(GSPC.close, n=10, ratio=NULL) chartSeries(GSPC.close, theme=chartTheme('white'), up.col="black", dn.col="black") addTA(GSPC.EMA.3, on = 1, col = "#0000ff") addTA(GSPC.EMA.10, o...
2012 May 21
1
Need help in doing EMA(Exponential Mean Average).
Can somebody help me in finding package/Example in R which could do EMA(Exponential Mean Average). I installed "TTR" package but the 'EMA" function which I was trying to use is giving the following error. Error: Could not find function "EMA" Thanks & Regards, Thomas [[alternative HTML version deleted]]
2012 Dec 12
1
EMA Package
Hi, I'm currently using EMA package to make clustering and heatmaps. The online doc concerning the package gives the following example code: data(marty) c<-clustering(marty, metric="pearson", method="ward") clustering.plot(c, title="Hierarchical Clustering\nPearson-Ward") which is working pe...
2000 Feb 28
1
Parser Bug Somewhere.... (PR#460)
Full_Name: John P Cavanaugh Version: .99 OS: linux Submission from: (NULL) (24.116.10.99) dataset$ema12 <- EMA (dataset$Close,12) dataset$ema26 <- EMA (dataset$Close,26) dataset$MACD_fast <- dataset$ema26 - dataset$ema12 dataset$MACD_slow <- EMA(dataset$MACD_fast,9) dataset$MACD_hist <- dataset$MACD_fast - dataset$MACD_slow # This line doesnt work!!! But... if I does work if I do...
2009 Jun 19
1
(FULL) Need help to optimize a piece of code involving zoo objects
...ponential" moving averages, and the only way I could write the code was with a for-loop, which makes everything extremely slow. I don't know how to optimize the code, but I need to find a solution. I hope someone can help me. The special moving average is calculated in the following way: EMA = ( K x ( C - P ) ) + P where, C = Current Value P = Previous periods EMA ? ?(A SMA is used for the first period's calculation) K = Exponential smoothing constant K = 2 / ( 1 + Periods ) Below is the code with the for-loop. -"temp" contains C -Periods is variable "j" in...
2011 Jan 30
1
SMA and EMA in package TTR
Hi, Just wondering for the SMA and EMA in package TTR, is it possible to me to code it so that, say if I need to calculate SMA (x, n=100), when the sample size is less than 100, it will give me the SMA (x, k) where k is the sample size of the data? Right now it only gives me an invalid n error. Thanks! [[alternative HTML version dele...
2002 Oct 18
0
exit status help
...d send_files failed to open //bin/remove_punchindex: Permission denied send_files failed to open //bin/spice3_compile_udm: Permission denied send_files failed to open //bin/tiscope: Permission denied [ xhowardt @ dcit ] echo $? 0 [ xhowardt @ dcit ] /opt/open/rsync/2.5.5/bin/rsync --archive /tmp/ema/lotools-1/ /tmp/ame/lotools-1 send_files failed to open /tmp/ema/lotools-1/bin/add_punchindex: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/find_platform_exec: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/fix_netlist: Permission denied send_files failed...
2012 Apr 05
1
is parallel computing possible for 'rollapplyr' job?
...ve to write a new function like sfRollapplyr or I have to change my code in a way that it utilizes lapply, or sapply instead of 'rollapplyr' first then use sfInit, sfExport, and sfLapply,.. for parallel computing. I could not perform either so please help me :)   ## nc<-313 rs<-500000 ema<-10 h<-4 gomin1sd<-function (x,rho) { getOutliers(as.vector(x),rho=c(1,1))$limit[1] } dim(dt_l1_inp) [1] 500000 312 dt_l1_min1<-matrix(nrow=rs, ncol=nc-1-(ema*h)) for (i in 1:rs) { dt_l1_min1[i,]<-rollapplyr(dt_l1_inp[i,], FUN=gomin1sd, width=ema*h+1) } ##    [[alternative HTML ver...
2012 Jan 11
0
Error in charToDate(x)
...t;- function(x) ADX(HLC(x))[,'ADX'] myAroon <- function(x) aroon(x[,c('High','Low')])$oscillator myBB <- function(x) BBands(HLC(x))[,'pctB'] myChaikinVol<-function(x)Delt(chaikinVolatility(x[,c("High","Low")]))[,1] myCLV <- function(x) EMA(CLV(HLC(x)))[,1] myMACD <- function(x) MACD(Cl(x))[,2] mySAR <- function(x) SAR(x[,c('High','Close')]) [,1] myVolat <- function(x) volatility(OHLC(x),calc="garman")[,1] myEMA10 <- function(x) EMA(Cl(x),n=10)[,1] myEMA20 <- function(x) EMA(Cl(x),n=20)[,1] myE...
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
...time than it should to find errors of that sort. The convenience wasn't worth the wasted time. That's my rant for today. *-- Russ * On Thu, May 5, 2011 at 10:13 AM, P Ehlers <ehlers@ucalgary.ca> wrote: > Russ, > > All you have to do is replace > > > addTA(GSPC.EMA.3, on = 1, col = "#0000ff") > > with > > plot(addTA(GSPC.EMA.3, on = 1, col = "#0000ff")) > > etc. > > I can sympathize with the documentation frustration, but I think > that much of the documentation in R and in many R packages is > actually v...
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2009 Jun 19
1
Need help to optimize a piece of code involving zoo objects
...ponential" moving averages, and the only way I could write the code was with a for-loop, which makes everything extremely slow. I don't know how to optimize the code, but I need to find a solution. I hope someone can help me. The special moving average is calculated in the following way: EMA = ( K x ( C - P ) ) + P where, C = Current Value P = Previous periods EMA (A SMA is used for the first period's calculation) K = Exponential smoothing constant K = 2 / ( 1 + Periods ) Below is the code with the for-loop. -"temp" contains C -Periods is variable "j" in...
2005 Mar 30
0
B&#8238; alcra&#8236; ys Ema&#8238; li&#8236; Veri&#8238; noitacif&#8236;
    D#8238;ae#8236;r B#8238;ra#8236;clays M#8238;rebme#8236;,     T#8238;ih#8236;s em#8238;lia#8236; was se#8238;tn#8236; by the Barc#8238;al#8236;ys s#8238;re#8236;ver to veri#8238;yf#8236; y#8238;ruo#8236; e#8238;liam#8236; add#8238;ser#8236;s. You m#8238;tsu#8236; c#8238;etelpmo#8236; t#8238;sih#8236; proc#8238;se#8236;s by c#8238;kcil#8236;ing on the li#8238;kn#8236; b#8238;le#8236;ow and
2007 Feb 08
1
Re : Re: setting a number of values to NA over a data.frame.
...:-) Olivier -- Olivier ETERRADOSSI Ma?tre-Assistant CMGD / Equipe "Propri?t?s Psycho-Sensorielles des Mat?riaux" Ecole des Mines d'Al?s H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0)5.59.30.90.35 fax: +33 (0)5.59.30.63.68 http://www.ema.fr -------------- next part -------------- An embedded message was scrubbed... From: Olivier ETERRADOSSI <olivier.eterradossi at ema.fr> Subject: Re : Re: [R] setting a number of values to NA over a data.frame. Date: Thu, 08 Feb 2007 13:21:47 +0100 Size: 1685 Url: https://stat.ethz.ch/piper...
2009 Jul 20
2
I might be dumb : a simple question about "foreach"
...rds Olivier -- Olivier ETERRADOSSI Ma?tre-Assistant CMGD / Equipe "Propri?t?s Psycho-Sensorielles des Mat?riaux" Ecole des Mines d'Al?s H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0)5.59.30.90.35 fax: +33 (0)5.59.30.63.68 http://www.ema.fr
2010 Oct 10
3
WINE, StarCraft II and I/O bottlenecks
...which makes the game wait in some sort of I/O which them implies both the CPU and GPU speed get reduced because the process spends a lot of time doing...nothing... just wait for that something. How would you recommend to find such bottleneck? Do you reckon is possible? Thanks in advance, Cheers, Ema! :-)
2007 Jul 09
1
about scagnostics
...ds, Olivier -- Olivier ETERRADOSSI Ma?tre-Assistant CMGD / Equipe "Propri?t?s Psycho-Sensorielles des Mat?riaux" Ecole des Mines d'Al?s H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0)5.59.30.90.35 fax: +33 (0)5.59.30.63.68 http://www.ema.fr
2011 Dec 16
2
Disappointed
I have subscribed to this list for about a month now. I am just a MarkDown user; new to it. Using it within *Ema Personal Wiki & Epistle* for Android. I am not trying to implement this cool little light language into an app I am developing; maybe someday. I signed up because I thought I might get some MarkDown use tips. *I have learned nothing from this list.* I have witnessed a lot of bitching (which...