Last chance! 50% off unlimited learning
Sale ends in
powered by
Add Commodity Channel Index
addCCI(n = 20, maType="SMA", c=0.015)
An CCI indicator will be draw in a new window on the current chart. A chobTA object will be returned silently.
periods to use for DX calculation
moving average type
Constant to apply to the mean deviation.
Jeffrey A. Ryan
See 'CCI' in TTR for specific details and references.
see CCI in TTR written by Josh Ulrich
addTA
if (FALSE) { addCCI() }
Run the code above in your browser using DataLab