powered by
Chaikin Volatility measures the rate of change of the security's trading range. Developed by Marc Chaikin.
chaikinVolatility(HL, n = 10, maType, ...)
Object that is coercible to xts or matrix and contains High-Low prices.
Number of periods for moving average.
A function or a string naming the function to be called.
Other arguments to be passed to the maType function.
maType
A object of the same class as HL or a vector (if try.xts fails) containing the Chaikin Volatility values.
HL
try.xts
The Chaikin Volatility indicator defines volatility as an increase in the difference between the high and low.
The following site(s) were used to code/document this indicator: http://www.fmlabs.com/reference/ChaikinVolatility.htm https://www.metastock.com/Customer/Resources/TAAZ/?p=120
See EMA, SMA, etc. for moving average options; and note Warning section. See TR for another volatility measure.
EMA
SMA
TR
# NOT RUN { data(ttrc) volatility <- chaikinVolatility(ttrc[,c("High","Low")]) # }
Run the code above in your browser using DataLab