# Impulse MACD

Impulse MACD is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

A MACD variant that prints exactly zero while a zero-lag average of typical price holds inside a 34-period smoothed high/low band, registering only when price escapes the range. A 9-period signal line, expansion-shaded histogram, ignition alerts on the first print off zero, and an optional on-chart band make the dead zone explicit for trend and breakout traders.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jun 5, 2026.
- Access: free.
- Concepts: [Impulse MACD](https://www.luxalgo.com/library/concept/impulse-macd/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=sryxswpuznn9kmmwafshh1h4
- Page: https://www.luxalgo.com/library/indicator/impulse-macd/

**Impulse MACD** is a momentum oscillator with the range filter built in: it flatlines at exactly zero while a zero-lag average of price holds within its smoothed high/low band, registering only once price escapes that range. The build keeps the published [Impulse MACD](https://www.luxalgo.com/library/concept/impulse-macd/) construction intact: smoothed averages of the highs and lows form the band, a zero-lag EMA of typical price tracks against it, and the displacement beyond the band becomes the impulse line, topped by a signal line and histogram.

## How to Trade the Impulse MACD?

- **Ignition**: the first print off zero marks price escaping its smoothed range, the event this tool isolates, with alerts both ways.
- **Signal cross outside the dead zone**: the impulse line crossing its signal line reads as momentum turning, but only while the line is active.
- **Histogram shading**: bright columns mark expanding momentum, faded columns a histogram already contracting toward its signal line.
- **Return to zero**: the escape is over and price is back inside its smoothed range. The tool's advice is to stand aside.

Within the [momentum family](https://www.luxalgo.com/library/family/momentum/) this is the selective member: it gives up continuous readings in exchange for silence while the market ranges.

## Impulse MACD Settings

- **Source** (default hlc3): the series tracked against the band; the published construction uses typical price.
- **Length** (default 34): bars for the smoothed high/low band and the zero-lag average. Lengthening widens the dead zone.
- **Signal Length** (default 9): the simple moving average of the impulse line; the histogram measures the gap between the two.
- Style toggles: **Show Histogram** (default enabled), **Gradient Fill** (default enabled), **Highlight Dead Zone** (default disabled), **Ignition Markers** (default disabled), and **Show Band on Chart** (default disabled).

## Frequently Asked Questions

### How is this different from the standard MACD?

A classic [MACD](https://www.luxalgo.com/library/indicator/macd/) subtracts two EMAs of the close and keeps firing signal-line crosses in flat markets. This variant stays at zero until price leaves its smoothed high/low range. The range gate comes built in.

### Why is the line flat at zero so often?

The dead zone is the design: while the zero-lag average sits inside the smoothed band, the market is treated as ranging and the oscillator says nothing. Enable Highlight Dead Zone or Show Band on Chart to see which stretches are muted.

### What is the trade-off?

Selectivity costs information: the tool is silent about pressure building inside the range, and since each stage smooths past prices, the first print off zero lands after the move is underway. It reads best as breakout confirmation beside a level-based entry.

## Related indicators

- [Adaptive MACD](https://www.luxalgo.com/library/indicator/adaptive-macd/) (MACD): markdown at https://www.luxalgo.com/library/indicator/adaptive-macd.md
- [MACD Based Price Forecasting](https://www.luxalgo.com/library/indicator/macd-based-price-forecasting/) (MACD): markdown at https://www.luxalgo.com/library/indicator/macd-based-price-forecasting.md
- [Volume-weighted MACD](https://www.luxalgo.com/library/indicator/volume-weighted-macd/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/volume-weighted-macd.md
- [MACD-V](https://www.luxalgo.com/library/indicator/macd-v/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/macd-v.md
- [Schaff Trend Cycle](https://www.luxalgo.com/library/indicator/schaff-trend-cycle/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/schaff-trend-cycle.md
- [Zero-lag MACD](https://www.luxalgo.com/library/indicator/zero-lag-macd/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/zero-lag-macd.md
- [MACD](https://www.luxalgo.com/library/indicator/macd/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/macd.md
- [OsMA](https://www.luxalgo.com/library/indicator/osma/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/osma.md

---

Source: https://www.luxalgo.com/library/indicator/impulse-macd/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
