Displaying 20 results from an estimated 60 matches for "emas".
Did you mean:
emac
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
Hi,
I'm having trouble with quantmod's addTA plotting functions. They seem to
work 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
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 perfectly,
However, when I'm changing the method to
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
2009 Jun 19
1
(FULL) Need help to optimize a piece of code involving zoo objects
(Sorry, sent the message before I finished it)
Hello, everyone
I have a long script that uses zoo objects. In this script I used
simple moving averages and these I can very efficiently calculate with
filter() functions.
Now, I have to use special "exponential" moving averages, and the only
way I could write the code was with a for-loop, which makes everything
extremely slow.
I don't
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 deleted]]
2002 Oct 18
0
exit status help
Greetings,
Hope you can help, Attached below is a message I sent into the maillist,
unfortunately I didnt receive any responses. The issue ... rsync client
doesnt return a correct exit status when transferring from rsync daemon.
Is this something that you're aware of? Are there any workarounds?
Anything I can do to help?
Thanks for your time,
Todd
=
Todd Howard
2012 Apr 05
1
is parallel computing possible for 'rollapplyr' job?
Hi,
The code below does exactly what I want in sequential mode. But, it is slow and I want to run it in parallel mode. I examined some windows version packages (parallel, snow, snowfall,..) but could not solve my specific problem. As far as I understood, either I have 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
2012 Jan 11
0
Error in charToDate(x)
Dear all,
I have a problem while working with hourly data of fx rates. I've read from
a csv file, the following way:
csv-file like:
Date,Open,High,Low,Close,Volume
2011-08-11 03:00:00,1.41758,1.42205,1.41625,1.42174,8974
...
2011-08-12 04:00:00,1.42175,1.42413,1.42067,1.42172,7229
...
2011-12-30 05:00:00,1.42173,1.42341,1.42062,1.42171,6703
...
raw<-
2011 May 07
2
Convenience-at-the-expense-of-clarity (was: quantmod's addTA plotting functions)
Thanks, Writing plot(addTA()) worked fine.
I find myself with such mixed feelings about R. After finding that addTA
worked fine at the command line but not in a function, I puzzled for a long
time about what kind of virtual machine structure could possibly account for
that. I couldn't think of any.
It turns out that this isn't due to an R virtual machine structure. The
reason addTA adds
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
Hello, everyone
I have a long script that uses zoo objects. In this script I used
simple moving averages and these I can very efficiently calculate with
filter() functions.
Now, I have to use special "exponential" 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
2005 Mar 30
0
B‮ alcra‬ ys Ema‮ li‬ Veri‮ noitacif‬
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.
Hi again,
Awfully sorry John, I should have been sleeping and did not see your
full post....
here is a way, unless I miss the point again :
fake<-as.data.frame(cbind(seq(1,10,by=1),c(rep(1,4),rep(0,4),rep(2,2))))
# from my previous post
# one moree column this time !
fake3<-cbind(fake,fake$V2)
index<-c(2,3)
fake3[,index][fake3[,index]==0]<-NA
not nice, but seems to do the job.
2009 Jul 20
2
I might be dumb : a simple question about "foreach"
Hi list,
My attention was drawn to the foreach package by recent posts...I
decided to have a look...
I'm using R.2.9.1 on Windows, I have downloaded the foreach package
today (v 1.2.1), together with iterators (v. 1.0.1) and codetools (v.0.2-2).
Full of hope I try the most simple thing of all out of the package
vignette :
> x <- foreach(i = 1:3) %do% sqrt(i)
and get :
> Erreur
2010 Oct 10
3
WINE, StarCraft II and I/O bottlenecks
Hi all.
Since I installed SC2 on my Ubuntu 10.04 x86-64 (Phenom II X4 965 BE, 8 GB Ram, nVidia 470 GTX - Driver 260.19.06, USB mic+headphones), I never managed to play at it with Ultra details with more than 12~15 FPS.
You could say that the fault is in a slow CPU, bad videocard or lousy sound card (the above USB stuff).
But the CPU isn't that bad, the ram quantity is more than enough and
2007 Jul 09
1
about scagnostics
Hi Hadley,
thank you for providing this "scagnostics" primer....
I was trying to do some basic testing, and I see that I probably missed
some points :
first it's not clear for me if the argument of "scagnostics" should be
raw data or "processed" data (results of calling "splom" or whatever...).
If the first, I thought (from Wilkinson & al.) that if
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