forked from joshuaulrich/TTR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLV.Rd
43 lines (41 loc) · 1.02 KB
/
CLV.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CLV.R
\name{CLV}
\alias{CLV}
\title{Close Location Value}
\usage{
CLV(HLC)
}
\arguments{
\item{HLC}{Object that is coercible to xts or matrix and contains
High-Low-Close prices.}
}
\value{
A object of the same class as \code{HLC} or a vector (if
\code{try.xts} fails) containing the Close Location Values of a
High-Low-Close price series.
}
\description{
The Close Location Value (CLV) relates the day's close to its trading range.
}
\details{
The CLV will fall in a range of -1 to +1. If the CLV is +/-1, the close is
at the high/low; if the CLV is 0, the close is directly between the high and
low.
}
\examples{
data(ttrc)
clv <- CLV(ttrc[,c("High","Low","Close")])
}
\references{
The following site(s) were used to code/document this
indicator:\cr
\url{http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:accumulation_distribution_line}\cr
}
\seealso{
See \code{\link{chaikinAD}}, which uses CLV.
}
\author{
Joshua Ulrich
}
\keyword{ts}