Oscillator of a Moving Average (OsMA)

What Is the Oscillator of a Moving Average (OsMA)?

OsMA is an abbreviation for the term oscillator of a moving average (MA). The OsMA is a technical indicator that shows the difference between an oscillator and its moving average over a given period of time.

The MACD is the most common oscillator used in the OsMA indicator, although any oscillator can be used. The MACD has a built-in moving average, which is the signal line. The signal line is an average of the MACD line. The OsMA is the difference or space between these two lines, usually drawn as a histogram. It can provide trend confirmation as well as possible trade signals.

Key Takeaways

  • The OsMA is a combination of an oscillator and a moving average of that oscillator. It measures the distance between these two values.
  • Any oscillator and any moving average (MA) of it can be used to create an OsMA.
  • MAs (of an oscillator) move slower than the oscillator. Therefore, an increasing OsMA is bullish as prices are rising and vice-versa.
  • When the OsMA goes from negative to positive that may indicate an uptrend is starting.; When the OsMA goes from positive to negative that may indicate a downtrend is starting.
  • Generally, when the OsMA is positive it helps confirm a price uptrend, and when negative helps confirm a downtrend in price.

Image by Julie Bang © Investopedia 2021

Formula for the Oscillator of a Moving Average (OsMA)

 OsMA = Oscillator Value Moving Average Value \text{OsMA = Oscillator Value} - \text{Moving Average Value} OsMA = Oscillator ValueMoving Average Value

How to Calculate the Oscillator of a Moving Average

  1. Select an oscillator and the time frame it will be based on.
  2. Select a moving average type and the number of periods in the MA.
  3. Calculate the oscillator value and then calculate the MA of the oscillator. Since moving averages are an average of multiple values, calculate as many oscillator values as needed before calculating the MA. For example, if you select a nine-period simple moving average (SMA) of the oscillator, then you will need at least nine oscillator values before the SMA can be calculated.
  4. Take the difference between the oscillator and the MA to get the OsMA reading. This can be a positive or negative number.
  5. Repeat steps and three and four as each time period ends.

What Does the Oscillator of a Moving Average (OsMA) Tell You?

The OsMA is a useful indicator of trends and trend strength. Values above zero, especially a number of periods above zero, help confirm rising prices. Values below zero, especially a number of periods in a row below zero, help confirm falling prices.

Crossovers of the zero line can also be important. A zero-line crossover occurs when the oscillator crosses above or below its MA. If the oscillator value drops below the MA value then the OsMA will record a negative value and shows the price is dropping. If the oscillator rises above the MA the OsMA will be positive and signals the price is rising.

Crossovers may provide the occasional good trade that catches a major price move, but crossovers can also produce loads of bad trades when the price is choppy and the OsMA flutters back and forth between positive and negative values. If using crossovers, it is better to be selective, such as only taking crossovers that align with a longer-term uptrend based on price action or another indicator. As the price is rising, consider buying when the OsMA falls below the zero line and then moves back above it. During a downtrend, consider short trades when the OsMA rises above the zero line and then drops below it. This won't totally eliminate the poor signals but it will get rid of some and will aid in trading in the direction of the trend.

High values (relative to prior readings) on the OsMA indicate a very strong uptrend since the faster moving oscillator line is moving further and further away from the slower moving MA. Low values mean the price is falling rapidly since the faster-moving oscillator is dropping quickly relative to the slower-moving MA.

Such high and low readings are subjective though, as a reading that is too high or low could indicate that the market is near an extreme and is due for at least a short-term correction in the other direction. Looking at the past can reveal extreme on the OsMA. Mark prior high and low points on the OsMA where the price reversed. These levels may be relevant in the future again, although not always.

The MACD is a commonly used oscillator that has a built-in moving average. Therefore, the MACD histogram is an OsMA which shows the difference between the MACD line and the signal line.

The Difference Between the Oscillator of a Moving Average (OsMA) and the Stochastic Oscillator

The stochastic oscillator indicator is a type of oscillator. Therefore, it could be used to calculate an OsMA. Like the MACD, the stochastic usually has a moving average applied to it. In this case, it is called %D, and it's a three-period SMA of the stochastic (%K). To calculate the OsMA of the stochastic oscillator, take the difference between %K and %D.

The Limitations of Using an Oscillator of a Moving Average (OsMA)

The OsMA is a lagging indicator. That means that it will sometimes provide information that is outdated. For example, a positive crossover above zero may occur but the price has already moved up substantially and thus may no longer be a good candidate. Similarly, the OsMA may show a strong price uptrend with positive values, but the price could still sharply fall. The indicator may be slow to decline or cross below zero, even though the price has fallen substantially already.

False crossovers are also a common problem, especially when the price is choppily moving. The OsMA will move quickly above and below zero, providing little insight beyond confirming that price action is choppy and trendless.