n
time periods to total volume times the Close
Location Value (CLV) over the last n
time periods.
Developed by Marc Chaikin.CMF(HLC, volume, n = 20)
HLC
object.HLC
and
volume
or a vector (if try.xts
fails)
containing the Chaikin Money Flow values.n
periods by the sum of volume over the
past n
periods.CLV
, and chaikinAD
.data(ttrc)
cmf <- CMF(ttrc[,c("High","Low","Close")], ttrc[,"Volume"])
Run the code above in your browser using DataLab