CLV {TTR}R Documentation

Close Location Value

Description

The Close Location Value (CLV) relates the day's close to its trading range.

Usage

  CLV(HLC)

Arguments

HLC Object able to be coerced to a matrix, which contains High-Low-Close prices.

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.

Value

A vector containg the Close Location Values of a High-Low-Close price series.

Author(s)

Josh Ulrich

References

The following site(s) were used to code/document this indicator:
http://stockcharts.com/education/IndicatorAnalysis/indic_AccumDistLine.html

See Also

See chaikinAD, which uses CLV.

Examples

  data(ttrc)
  clv <- CLV(ttrc[,c("High","Low","Close")])

[Package TTR version 0.14-0 Index]