Last chance! 50% off unlimited learning
Sale ends in
The Chaikin Accumulation / Distribution (AD) line is a measure of the money flowing into or out of a security. It is similar to On Balance Volume (OBV). Developed by Marc Chaikin.
chaikinAD(HLC, volume)
A object of the same class as HLC
and volume
or a
vector (if try.xts
fails) containing the accumulation / distribution
values.
Object that is coercible to xts or matrix and contains High-Low-Close prices.
Vector or matrix of volume observations corresponding to the
HLC
object.
Joshua Ulrich
The AD line is similar to OBV; the difference is that OBV sums volume multiplied by +/- 1 if the close is higher/lower than the previous close, while the AD line multiplies volume by the close location value (CLV).
The following site(s) were used to code/document this
indicator:
https://www.fmlabs.com/reference/AccumDist.htm
https://www.metastock.com/Customer/Resources/TAAZ/?p=27
https://www.linnsoft.com/techind/accumulation-distribution
https://school.stockcharts.com/doku.php?id=technical_indicators:accumulation_distribution_line
See OBV
, and CLV
.
data(ttrc)
ad <- chaikinAD(ttrc[,c("High","Low","Close")], ttrc[,"Volume"])
Run the code above in your browser using DataLab