The Chande Momentum Oscillator (CMO) is a modified RSI. Developed by Tushar S. Chande.
CMO(x, n = 14)
A object of the same class as x
or a vector (if try.xts
fails) containing Chande Momentum Oscillator values.
Price, volume, etc. series that is coercible to xts or matrix.
Number of periods to use.
Joshua Ulrich
The CMO divides the total movement by the net movement ([up - down] / [up + down]), where RSI divides the upward movement by the net movement (up / [up + down]).
The following site(s) were used to code/document this
indicator:
https://www.fmlabs.com/reference/CMO.htm
See RSI
.
data(ttrc)
cmo <- CMO(ttrc[,"Close"])
Run the code above in your browser using DataLab