OPEN-SOURCE SCRIPT

Stochastic Chande Momentum Oscillator (Stoch CMO)

602
The Stochastic CMO combines the Chande Momentum Oscillator (CMO) with Stochastic normalization to measure momentum on a bounded 0–100 scale.

Why CMO instead of RSI?
RSI uses Wilder smoothing internally, which adds lag before any Stochastic formula is even applied. CMO skips that — it uses raw sums of up and down moves, so there's no hidden lag tax. The result is that StochCMO carries 2 layers of lag (Stochastic + K/D smoothing) vs StochRSI's 3 (Wilder MA + Stochastic + K/D smoothing), making it faster to react to price changes with comparable settings.

How it works:
- CMO measures the ratio of up-moves vs down-moves over a set period
- That CMO value is then run through a Stochastic formula to normalize it between 0 and 100
- %K (blue) is the smoothed Stochastic CMO line
- %D (orange) is a moving average of %K, acting as a signal line

Key levels:
- 80 → Overbought
- 50 → Midline (trend bias)
- 20 → Oversold

Includes 6 built-in alerts for crossovers and crossunders at all three levels.

Settings:
- CMO Length (default 9)
- Stochastic Length (default 14)
- Smooth K (default 3)
- Smooth D (default 3)

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.