CLV | R Documentation |
The Close Location Value (CLV) relates the day's close to its trading range.
CLV(HLC)
HLC |
Object that is coercible to xts or matrix and contains High-Low-Close prices. |
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.
A object of the same class as HLC
or a vector (if
try.xts
fails) containing the Close Location Values of a
High-Low-Close price series.
Joshua Ulrich
The following site(s) were used to code/document this
indicator:
https://school.stockcharts.com/doku.php?id=technical_indicators:accumulation_distribution_line
See chaikinAD
, which uses CLV.
data(ttrc)
clv <- CLV(ttrc[,c("High","Low","Close")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.