Forex Indicator MT4

# Moving Average of Oscillator(OsMA)

What is MACD Histogram indicator, the instructions of MACD Histogram and how to use the MACD Histogram indicator, the calculation of MACD Histogram indicator and the MACD Histogram indicator main parameters

Contents[hide]

## Introduction

Moving Average of Oscillator, Sometimes called MACD Histogram in some systems

Developed by Thomas Aspray in 1986, the MACD-Histogram measures the distance between MACD and its signal line (the 9-day EMA of MACD). Like MACD, the MACD-Histogram is also an oscillator that fluctuates above and below the zero line. Aspray developed the MACD-Histogram to anticipate signal line crossovers in MACD. Because MACD uses moving averages and moving averages lag price, signal line crossovers can come late and affect the reward-to-risk ratio of a trade. Bullish or bearish divergences in the MACD-Histogram can alert chartists to an imminent signal line crossover in MACD. See article for more on MACD.

Moving Average of Oscillator is the difference between the oscillator and oscillator smoothing. In this case, Moving Average Convergence/Divergence base-line is used as the oscillator, and the signal line is used as the smoothing.

Standard MACD is the 12-day Exponential Moving Average (EMA) less the 26-day EMA. Closing prices are used to form the moving averages so MACD. A 9-day EMA of MACD is plotted along side to act as a signal line to identify turns in the indicator. The MACD-Histogram represents the difference between MACD and its 9-day EMA, the signal line. The histogram is positive when MACD is above its 9-day EMA and negative when MACD is below its 9-day EMA.

## Calculation

```MACD: (12-day EMA - 26-day EMA)

Signal Line: 9-day EMA of MACD

MACD Histogram: MACD - Signal Line```

## Interpretation

As with MACD, the MACD-Histogram is also designed to identify convergence, divergence and crossovers. The MACD-Histogram, however, is measuring the distance between MACD and its signal line. The histogram is positive when MACD is above its signal line. Positive values increase as MACD diverges further from its signal line (to the upside). Positive values decrease as MACD and its signal line converge. The MACD-Histogram crosses the zero line as MACD crosses below its signal line. The indicator is negative when MACD is below its signal line. Negative values increase as MACD diverges further from its signal line (to the downside). Conversely, negative values decrease as MACD converges on its signal line.

## Peak-Trough Divergence

The MACD-Histogram anticipates signal line crossovers in MACD by forming bullish and bearish divergences. These divergences signal that MACD is converging on its signal line and could be ripe for a cross. There are two types of divergences: peak-trough and slant. A peak-trough divergence forms with two peaks or two troughs in the MACD-Histogram. A peak-trough bullish divergence forms when MACD forges a lower low and the MACD-Histogram forges a higher low. Well-defined troughs are important to the robustness of a peak-trough divergence. The below chart shows Caterpillar with a bullish divergence in the MACD-Histogram. Notice that MACD moved to a lower low in June-July, but the MACD-Histogram formed a higher low (trough). There are two distinct troughs. This bullish divergence foreshadowed the bullish signal line crossover in mid July and a big rally.

The following chart shows Aeropostale (ARO) with a bearish divergence in August-September 2009. MACD moved to a new high in September, but the MACD-Histogram formed a lower high. Notice that there are two definitive peaks (higher) with a dip in between on the MACD-Histogram (red line). The subsequent bearish signal line crossover foreshadowed a sharp decline in the stock.

## Slant Divergence

As its name implies, slant divergences form without well-defined peaks or troughs. Instead of two reaction highs, there is simply a slant lower as the MACD-Histogram moves towards the zero line. This slant towards the zero line reflects a convergence between MACD and its signal line. In other words, they are getting closer to each other. Momentum shows strength when MACD is moving away from its signal line and the MACD-Histogram expands. Momentum weakens as MACD moves closer to its signal line and the MACD-Histogram contracts. Contracting MACD-Histogram is the first step towards a signal line crossover.

The below chart shows Boeing with a classic slant divergence in the MACD-Histogram. MACD moved sharply lower after the bearish signal line crossover in June 2009. MACD moved to a new low in mid July, but the MACD-Histogram held well above its prior low. In fact, the MACD-Histogram bottomed towards the end of June and formed a bullish slant divergence. The thick red lines show the distance between MACD and its signal line. It is sometimes hard to gauge distance on the chart so these lines highlight the difference between 26-June and 8-July. This slant divergence foreshadowed the bullish signal line crossover in mid July and a sharp advance in the stock.

The following chart Disney (DIS) with a bearish slant divergence in May 2008. Notice how MACD continued to a new high on 16-May, but the MACD-Histogram peaked on 8-May and formed a slant divergence. The advance in MACD was losing momentum and the indicator moved below its signal line to foreshadow a sharp decline in the stock. This chart also shows a nice bullish divergence in March-April.

## Conclusions

The MACD-Histogram is an indicator designed to predict signal line crossovers in MACD. By extension, it is designed as an early warning system for these signal line crossovers, which are the most frequent of MACD signals. Divergences in the MACD-Histogram can be used to filter signal line crossovers, which will reduce the number of signals. Even with a filter, the robustness of MACD-Histogram divergences is still an issue. Short and shallow divergences are much more frequent than long and large divergences. In other words, divergences that develop over a few days with shallow movements are generally less robust than divergences that develop over a few weeks with more pronounced movements. The signal line crossover provides the ultimate confirmation, but aggressive traders may try to improve the reward-to-risk ratio by making their move just before the crossover. This is when the MACD-Histogram is as close to the zero line as it can be without actually making a cross, usually between -.20 and +.20.

## Main Parameters

• Fast EMA: Number of periods for fast moving average calculation, default is 12
• Slow EMA: Number of periods for slow moving average calculation, default is 26
• MACD SMA: Number of periods for signal moving average calculation, default is 9
• Apply to: Applied price
• Close
• Open
• High
• Low
• Median Price, (high+low)/2
• Typical Price, (high+low+close)/3
• Weighted Close, (high+low+close+close)/4