Concept

OsMA

OsMA is a Momentum & Oscillators concept. The Library holds 3 implementations, each one a working definition you can pull into Quant.

Top OsMA indicators

3 total

What is OsMA?

OsMA stands for Oscillator of a Moving Average (some platforms list it as Moving Average of Oscillator). It plots the difference between an oscillator and its signal line, a moving average of that same oscillator. In the standard form the oscillator is the MACD line and the signal is its 9-period average, which makes OsMA numerically identical to the MACD histogram: the same values under a different name, a convention popularized by the built-in indicator lists of retail forex platforms.

Subtracting the signal isolates how far momentum has pulled away from its own average. Growing OsMA bars mean the MACD line is pulling away from its signal, momentum building in that direction; shrinking bars mean the two are converging, which is what precedes a signal-line cross. Because it differences an already-derived series, OsMA tends to turn earlier than the MACD line itself but is also noisier, so readings usually focus on bar-to-bar direction and zero crosses rather than absolute height.

How traders use it

  • As a crossover trigger: OsMA crossing zero is exactly a MACD signal-line cross expressed as a sign flip, so systems often use the bars turning positive or negative as the entry or exit event.
  • As an early deceleration warning: bars that shrink while price keeps extending show momentum fading before any cross prints, a cue to tighten stops or skip late entries.
  • As a divergence source: comparing OsMA peaks and troughs against price swing highs and lows is a common way to mark regular divergence, since the histogram's extremes are well defined.

Related concepts · MACD lineage

Concept family

Momentum & Oscillators

91 concepts mapped · 72 in the Library

OsMA FAQ

Is OsMA the same as the MACD histogram?

With default settings, yes. OsMA is defined as the oscillator minus its signal line, and the standard configuration uses the MACD line minus its 9-period signal, which is exactly the histogram's formula. Some platforms generalize OsMA to other oscillators, but on most charts the two plots are numerically identical and differ only in name.

What does an OsMA zero-line cross mean?

It means the oscillator has crossed its own signal average; for the MACD version, that is the signal-line crossover shown as a sign change. It says momentum has turned relative to its recent average, not that the trend has reversed. In ranging markets these flips cluster and whipsaw, so most traders filter them with trend or structure context.

Build OsMA your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.