MACD Enhanced
Indicator
MACD Enhanced is the 12-bar average of the close minus the 26-bar average, a 9-bar signal, and a four-colour histogram of the gap.
Created by Gerald Appel, 1979. Reviewed by the ChartLabs team, updated Nov 2026.
MACD is below Signal (-1290.915).
MACD -1290.915 · Signal -1040.141 · Histogram -250.774
MACD is below Signal (-1290.915).
MACD -1290.915 · Signal -1040.141 · Histogram -250.774
Illustration on simulated data.
MACD with a four-colour histogramWhat is the MACD Enhanced indicator?
Gerald Appel's MACD is the 12-bar exponential average of the close minus the 26-bar average. A 9-bar average of that gap is the signal, and the histogram is the gap minus the signal. He set out the method in The Moving Average Convergence-Divergence Trading Method (1979).
The 12-bar length is fixed. You can change the slow length (26) and the signal length (9). Every average is seeded with the first value, so on record 0 the two price averages equal the close, MACD is 0, the signal is 0 and the histogram is 0. A close of 10 then 12 gives a MACD of about 0.1595, a signal of about 0.0319 and a histogram of about 0.1276. At the panel's 3 decimals those read 0.160, 0.032 and 0.128.
The MACD line is #2196F3 at 2 px and the signal is #FF9800 at 1 px. The histogram's base swatch is #26a69a. Each column then takes one of four colours: #00897b above zero and rising, #80cbc4 above zero and not rising, #c62828 at or below zero and falling, #ef9a9a at or below zero and not falling. A missing previous column counts as 0, so the second bar of the example, rising through zero, is #00897b.
Fast length stays 12
There is no input for it. Changing the slow length does not change the 12.
Record 0 is zero
Both price averages start at the first close, so their gap is 0 and the signal of that 0 is 0.
MACD Enhanced signalsFive patterns to know.
MACD above the signal
The histogram is positive. The gap is wider than its own average, on the up side.
MACD under the signal
The histogram is negative.
MACD crossing the signal
The histogram has just changed sign. One cross is not a completed trend.
Histogram rising above zero
The column is #00897b. The gap is positive and larger than the column before it.
Histogram falling below zero
The column is #c62828. The gap is at or below zero and lower than the column before it.
MACD Enhanced formulaHow it is calculated.
Subtract the averages
EMA 12 of the close minus EMA 26 of the close. Both seed on the first close. The 12 does not change.
Smooth the gap
The signal is an EMA 9 of that MACD, also seeded with its first value. Record 0 is 0, 0 and 0.
Colour the difference
The histogram is MACD minus the signal. From a close of 10 to a close of 12 it is about 0.1276, and that rising positive column is #00897b.
MACD Enhanced settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Slow length | 26 | 1 to 5,000 | The longer price average. The Signal lens changes this. |
| Signal length | 9 | 1 to 5,000 | The average of the MACD line. |
| Source | Close | Any price, or volume | The series both price averages use. |
| Fast length | 12 | Fixed | The shorter price average. It is not an input. |
| Lines | MACD #2196F3 at 2 px, signal #FF9800 at 1 px | Fixed | Own panel, 3 decimals. |
| Histogram | #26a69a, then #00897b, #80cbc4, #c62828, #ef9a9a | Fixed | Base swatch, then rising above zero, not rising above zero, falling at or below zero, not falling at or below zero. |
- Setting
- Slow length
- Default
- 26
- Range
- 1 to 5,000
- What it changes
- The longer price average. The Signal lens changes this.
- Setting
- Signal length
- Default
- 9
- Range
- 1 to 5,000
- What it changes
- The average of the MACD line.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- The series both price averages use.
- Setting
- Fast length
- Default
- 12
- Range
- Fixed
- What it changes
- The shorter price average. It is not an input.
- Setting
- Lines
- Default
- MACD #2196F3 at 2 px, signal #FF9800 at 1 px
- Range
- Fixed
- What it changes
- Own panel, 3 decimals.
- Setting
- Histogram
- Default
- #26a69a, then #00897b, #80cbc4, #c62828, #ef9a9a
- Range
- Fixed
- What it changes
- Base swatch, then rising above zero, not rising above zero, falling at or below zero, not falling at or below zero.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
MACD Enhanced strategiesUse it in 3 setups.
MACD crossing above the signal
The histogram has turned positive. Traders often want that cross above zero as well, which is a stronger stretch of the same gap. The cross is still a description of the two averages.
MACD crossing under the signal
The histogram has turned negative. It does not name a price target.
A rising positive column
The gap is above zero and wider than the bar before. A #80cbc4 column is still positive, but it is no longer growing.
MACD Enhanced mistakesCommon mistakes.
Looking for a fast-length input
The 12 is fixed. The inputs are the slow length, the signal length and the source.
Reading the histogram as MACD
The histogram is the gap between MACD and the signal. MACD itself is the blue line.
Treating record 0 as a cross
All three values are 0 because both averages equal the first close. It is a seed, not a signal cross.
MACD Enhanced combinationsPair it with these.
MACD Enhanced + MACD
The MACD indicator uses the same 12, 26 and 9 idea with its own seed and its own histogram colours. The early bars are not the same, because that one waits for a simple-average seed.
MACD Enhanced + EMA
The two price lines inside MACD are exponential averages. The EMA indicator draws one of them on the chart.
MACD Enhanced + PPO
PPO divides the same kind of gap by the slow average, so it is a percent. This histogram stays in price units.
MACD Enhanced + RSI
RSI is a 0-100 momentum line. It does not use the 12 and 26 averages.
MACD Enhanced FAQQuestions traders ask.
What are the MACD Enhanced settings?
Slow length 26, signal length 9, source close. The fast length is 12 and it is not an input.
What is the two-bar example?
Close 10, then 12. Record 0 is 0, 0 and 0. The second bar is a MACD of about 0.1595, a signal of about 0.0319 and a histogram of about 0.1276. At 3 decimals: 0.160, 0.032 and 0.128.
Why is the second histogram #00897b?
It is above zero and higher than the previous column, which counts as 0. That is the rising-above-zero colour.
What are the four histogram colours?
#00897b above zero and rising, #80cbc4 above zero and not rising, #c62828 at or below zero and falling, #ef9a9a at or below zero and not falling. The column's base swatch is #26a69a.
How is this different from the MACD indicator?
Same 12, 26 and 9 construction. This one seeds every average with the first value, so it plots from the first bar. The MACD page waits for a simple-average seed, and its histogram colours differ.
Can I change the 12?
No. Only the slow length, the signal length and the source are inputs.
Does it repaint?
No. A closed bar's source stays. The live bar can still move all three plots until it closes.
Who created MACD?
Gerald Appel, The Moving Average Convergence-Divergence Trading Method (1979).
Related indicatorsMore momentum tools.
All momentum indicatorsTry MACD Enhanced on a live chart.
Free. No download.
Works in your browser and on iPhone too.