Open-source scriptindicator/v1
Chande Momentum Oscillator
Compare summed gains and losses in a bounded momentum oscillator from minus 100 to 100.
#cmo#momentum#oscillator
Description
The Chande Momentum Oscillator measures the balance between recent gains and losses without smoothing them first. Its symmetric scale can be used to study momentum strength, zero-line changes, and potential overbought or oversold conditions.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedChande Momentum Oscillator · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Chande Momentum Oscillator", { overlay: false });
const length = input.int("Length", 9, { min: 1, max: 500 });
const source = input.source("Source", "close");
plot(cmo(source, length), { title: "CMO", color: "#7c4dff", lineWidth: 2 });
hline(50, { title: "Upper", color: "#ef5350", style: "dashed" });
hline(0, { title: "Zero", color: "#78909c", style: "dotted" });
hline(-50, { title: "Lower", color: "#26a69a", style: "dashed" });
Community discussion
0 comments
No comments yet. Start the discussion.