forked from joshuaulrich/TTR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEMV.Rd
66 lines (59 loc) · 1.94 KB
/
EMV.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EMV.R
\name{EMV}
\alias{EMV}
\title{Arms' Ease of Movement Value}
\usage{
EMV(HL, volume, n = 9, maType, vol.divisor = 10000, ...)
}
\arguments{
\item{HL}{Object that is coercible to xts or matrix and contains High-Low
prices.}
\item{volume}{Vector or matrix of volume observations corresponding to the
\code{HL} object.}
\item{n}{Number of periods for moving average.}
\item{maType}{A function or a string naming the function to be called.}
\item{vol.divisor}{An increment to make the results larger and easier to work
with.}
\item{\dots}{Other arguments to be passed to the \code{maType} function.}
}
\value{
A object of the same class as \code{HL} and \code{volume} or a matrix
(if \code{try.xts} fails) containing the columns:
\describe{
\item{ emv }{ The ease of movement values. }
\item{ maEMV }{ The smoothed (as specified by \code{ma}) ease of movement values. }
}
}
\description{
Arms' Ease of Movement Value (EMV) emphasizes days where the security moves
easily and minimizes days where the security does not move easily. Developed
by Richard W. Arms, Jr.
}
\details{
The EMV is calculated by dividing the midpoint ([high + low]/2) move by the
'Box Ratio' (volume divided by the high minus low).
}
\note{
A buy/sell signal is generated when the EMV crosses above/below zero.
When the EMV hovers around zero, there are small price movements and/or high
volume, and the price is not moving easily.
}
\examples{
data(ttrc)
emv <- EMV(ttrc[,c("High","Low")], ttrc[,"Volume"])
}
\references{
The following site(s) were used to code/document this
indicator:\cr \url{http://www.fmlabs.com/reference/ArmsEMV.htm}\cr
\url{https://www.metastock.com/Customer/Resources/TAAZ/?p=51}\cr
\url{https://www.linnsoft.com/techind/arms-ease-movement}\cr
}
\seealso{
See \code{\link{EMA}}, \code{\link{SMA}}, etc. for moving average
options; and note Warning section.
}
\author{
Joshua Ulrich
}
\keyword{ts}