Definition
The Chande Momentum Oscillator was developed by Tushar S. Chande and is described in the 1994 book The New Technical Trader by Tushar S. Chande and Stanley Kroll. This indicator is a modified RSI. Where the RSI divides the upward movement by the net movement (up / (up + down)), the CMO divides the total movement by the net movement ((up - down) / (up + down)). Values under -50 indicate oversold conditions while values over 50 indicate overbought conditions.
Syntax
CMO(int period)
CMO(IDataSeries inputData, int period)
Returns default value
CMO(int period)[int barsAgo]
CMO(IDataSeries inputData, int period)[int barsAgo]
Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
|
Parameters |
|
|
period |
The number of bars to include in the calculation |
|
inputData |
Indicator source data (?) |
Examples
|
// Prints the current value of a 20 period CMO using default price type
// Prints the current value of a 20 period CMO using high price type
|
Source Code
You can open up the indicator source code via the NinjaScript Editor.