powered by
The Williams Accumulation / Distribution (AD) line is a measure of market momentum. Developed by Larry Williams.
williamsAD(HLC)
Object that is coercible to xts or matrix and contains High-Low-Close prices.
A object of the same class as HLC or a vector (if try.xts fails) containing the accumulation / distribution values.
HLC
try.xts
The Williams AD line differs from OBV and chaikinAD in that it doesn't take volume into account.
The following site(s) were used to code/document this indicator: http://www.fmlabs.com/reference/WilliamsAD.htm http://www.metastock.com/Customer/Resources/TAAZ/#125
See OBV, chaikinAD, and ATR.
OBV
chaikinAD
ATR
# NOT RUN { data(ttrc) ad <- williamsAD(ttrc[,c("High","Low","Close")]) # }
Run the code above in your browser using DataLab