MOMENTUM & OSCILLATORS

CMO

A momentum meter running from −100 to +100.

spec id: cmolength (default 14)

What does CMO measure?

A momentum meter running from −100 to +100. It shows how one-sided the last stretch has been: all up-days pin it near +100, all down-days near −100.

How is CMO calculated?

Over the last 14 candles, add up the gains on up candles and the losses on down candles separately, subtract the losses from the gains, and divide by their total.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use CMO in a bot?

In the builder, add an indicator of type cmo (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on CMO — the first backtest is free.

Run a free backtest