Impulse MACD mt4
- Indicatori
- Ulises Calderon Bautista
- Versione: 1.2
### Impulse MACD [LazyBear] v1.0
Port of LazyBear's open-source TradingView indicator, which has accumulated over 8,700 favorites since its publication in 2015. It filters out false MACD signals by measuring momentum only when price breaks outside a smoothed moving average channel.
#### How it works
The indicator builds a channel using two Smoothed Moving Averages (SMMA) applied to the High and Low. A Zero-Lag EMA (mathematically equivalent to DEMA) is computed on the typical price (HLC3). The ImpulseMACD value is:
- **Positive** when the ZLEMA is above the upper SMMA band (bullish impulse)
- **Negative** when the ZLEMA is below the lower SMMA band (bearish impulse)
- **Zero** when the ZLEMA is inside the channel (no signal — ranging market)
A Signal line (SMA of the ImpulseMACD) and a difference histogram complete the display.
#### Visual features
- Color histogram (4 states): Lime, Green, Orange, Red based on price position relative to ZLEMA and SMMA channel
- Maroon signal line (SMA of ImpulseMACD)
- Blue difference histogram (ImpulseMACD − Signal)
- Zero reference line
- Multi-channel alerts: popup, sound, push, email
#### Parameters
| Parameter | Default | Description |
|---|---|---|
| MA Period | 34 | Period for SMMA channel (High/Low) and ZLEMA |
| Signal Period | 9 | Period for the Signal line (SMA of ImpulseMACD) |
| Enable Alerts | false | Activates the alert system |
| Alert: Popup | true | Shows a popup dialog |
| Alert: Sound | false | Plays a sound file |
| Alert: Push | false | Sends a push notification |
| Alert: Email | false | Sends an email alert |
| Sound File | alert.wav | Name of the sound file to play |
#### Key characteristics
- Does not repaint: alerts fire on the last closed bar only
- Available for MetaTrader 4 and MetaTrader 5
- Works on any symbol and timeframe
- Alerts trigger on: signal line crossovers and zero-line crossovers
#### Original source
Script by LazyBear, published April 29, 2015.
