Chande momentum oscillator

cmooscillatorsForge API 1

Up moves against down moves over a period, from -100 to 100.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint141 to 5000

Outputs

NameTypeRequiredDescription
cmovalueOptionalcolor theme.accent, style line, width 1
Warm-up
period bars (14 at the defaults)
Repaints
No
Parity
None

Formula

Up is the change when it is positive, Down is minus the change when it is negative

CMO = 100 * (sum of Up - sum of Down) / (sum of Up + sum of Down) over the last period bars

0 when nothing moved.