Learn R Programming

TTR (version 0.24.4)

CMO: Chande Momentum Oscillator

Description

The Chande Momentum Oscillator (CMO) is a modified RSI. Developed by Tushar S. Chande.

Usage

CMO(x, n = 14)

Value

A object of the same class as x or a vector (if try.xts

fails) containing Chande Momentum Oscillator values.

Arguments

x

Price, volume, etc. series that is coercible to xts or matrix.

n

Number of periods to use.

Author

Joshua Ulrich

Details

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]).

References

The following site(s) were used to code/document this indicator:
https://www.fmlabs.com/reference/CMO.htm

See Also

See RSI.

Examples

Run this code

 data(ttrc)
 cmo <- CMO(ttrc[,"Close"])

Run the code above in your browser using DataLab