Add the oscillator once per trading day
Let X be the selected daily breadth input, F the fast EMA, S the slow EMA, O the oscillator and M the Summation Index. The McClellans use smoothing weights of 0.10 and 0.05, equivalent to 19-day and 39-day EMAs. Use completed daily observations for these updates.
- The A-D Line accumulates net advances directly. The Summation Index accumulates the difference between two smoothed breadth series.
- An oscillator declining from +20 to +5 still raises M by 5 on the second day. A turn downward in O is not necessarily a turn downward in M.
| State | Daily update |
|---|---|
| Fast breadth average | F = 0.10 × X + 0.90 × prior F |
| Slow breadth average | S = 0.05 × X + 0.95 × prior S |
| McClellan Oscillator | O = F − S |
| McClellan Summation Index | M = prior M + O |