Home Technical Indicator Post

Mastering the McClellan Oscillator: A Smoother Indicator for MetaTrader 5

Attachments
24346.zip (2.21 KB, Download 0 times)

Theory:

In 1969, Sherman and Marian McClellan developed the McClellan Oscillator, inspired by Haurlan’s analysis of advance and decline data. This oscillator measures the difference between two exponential moving averages of advances minus declines, specifically the 19-day and 39-day averages.

The idea behind this oscillator is straightforward: during intermediate-term overbought and oversold conditions, shorter moving averages typically react more quickly than their longer-term counterparts. If you wait for the moving averages to change direction, you might miss a significant price move. A ratio of two moving averages is much more responsive than relying on a single average, often reversing direction right alongside, or even before, a price reversal—especially when the ratio reaches extreme values.

This updated version introduces a couple of enhancements:
  • It utilizes a "smoother" for calculations, which yields significantly smoother results than traditional EMAs.
  • A "periods multiplier" simplifies usage. Since the smoother reacts faster than the EMA, you can adjust the multiplier to your preference (even fractional values) instead of changing both the fast and slow periods for clearer readings.

Usage:

While it’s essential to use the oscillator as originally intended by its creators, I've found that this adapted version—especially with higher multiplier settings (like 3 in the second example)—can be a useful signal when zero crossing occurs on a chart with the corresponding base symbol.



Related Posts

Comments (0)