Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chaikinAD

Chaikin Accumulation / Distribution


Description

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.

Usage

chaikinAD(HLC, volume)

Arguments

HLC

Object that is coercible to xts or matrix and contains High-Low-Close prices.

volume

Vector or matrix of volume observations corresponding to the HLC object.

Details

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).

Value

A object of the same class as HLC and volume or a vector (if try.xts fails) containing the accumulation / distribution values.

Note

The Accumulation/Distribution Line is interpreted by looking for a divergence in the direction of the indicator relative to price.

Author(s)

Joshua Ulrich

References

See Also

See OBV, and CLV.

Examples

data(ttrc)
ad <- chaikinAD(ttrc[,c("High","Low","Close")], ttrc[,"Volume"])

TTR

Technical Trading Rules

v0.24.2
GPL (>= 2)
Authors
Joshua Ulrich
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.