Momentum / Reference
alerta.ta.cmo
TradingView-compatible spelling: ta.cmo, runs without warnings
Calculates the Chande Momentum Oscillator over an N-bar period.
alerta.ta.cmo(source, length) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source | series | Yes | — | Series of values to process. |
length | int | Yes | — | Number of bars (length). |
Returns
series floatExample
alerta.ta.cmo
plot(cmo(close, 14), { pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.