williamsAD {TTR} | R Documentation |
The Williams Accumulation / Distribution (AD) line is a measure of market momentum. Developed by Larry Williams.
williamsAD(HLC)
HLC |
Object that is coercible to xts or matrix and contains High-Low-Close prices. |
The Williams AD line differs from OBV and chaikinAD in that it doesn't take volume into account.
A object of the same class as HLC
or a vector (if
try.xts
fails) containing the accumulation / distribution values.
The Accumulation/Distribution Line is interpreted by looking for a divergence in the direction of the indicator relative to price.
Joshua Ulrich
The following site(s) were used to code/document this
indicator:
http://www.fmlabs.com/reference/WilliamsAD.htm
http://www.equis.com/Customer/Resources/TAAZ/?c=3&p=125
data(ttrc) ad <- williamsAD(ttrc[,c("High","Low","Close")])