Beep Boop with MACD signal
Nov 25, 2020

The Beep Boop indicator is a trend-following tool designed to identify momentum shifts and trend-aligned entries using a modified MACD and EMA filter. It streamlines the detection of trending market conditions by color-coding momentum relative to a long-term trend baseline.
Usage
The indicator is primarily used to identify trade opportunities in trending markets. It utilizes a histogram that highlights specific conditions:
- Bullish Trend: A green column appears when the MACD momentum is positive and the price (Open, High, Low, Close) remains consistently above the EMA Trend line.
- Bearish Trend: A red column appears when the MACD momentum is negative and the price remains consistently below the EMA Trend line.
- Neutral/Fall: Gray columns indicate that while momentum may exist, the price action does not meet the strict trend filter requirements.
Traders can use these signals to enter positions when the color changes from neutral to green/red, suggesting a high-probability trend continuation.
Details
This script is an improved version of the original concept by Trading Rush. It combines a standard MACD (12, 26, 9) with a 50-period EMA trend filter. Key enhancements include:
- Low Lag Options: The script includes implementations for Double EMA (DEMA) and Zero-Lag EMA calculation methods to reduce the inherent delay of standard moving averages.
- Strict Trend Filtering: Unlike a standard MACD, this indicator requires the entire price bar (OHLC) to be on the correct side of the Trend EMA to trigger a signal, reducing "noise" in choppy markets.
- Visual Histogram: The histogram is normalized to visualize relative momentum peaks more clearly alongside the standard MACD signal line.
Settings
Inputs
- Fast Length: The period for the shorter moving average used in the MACD calculation.
- Slow Length: The period for the longer moving average used in the MACD calculation.
- EMA Trend: The period for the primary trend filter (default is 50).
- Source: The price data used for calculations (default is Close).
- Signal Smoothing: The period for the MACD signal line smoothing.
- Simple MA(Oscillator): When enabled, uses a Simple Moving Average for the oscillator instead of EMAs.
- Simple MA(Signal Line): When enabled, uses a Simple Moving Average for the signal line.
- EMA Signal: When enabled, the indicator uses standard Exponential Moving Averages instead of the default Double EMA (DEMA) logic.
FAQ
How do I interpret the colors on the histogram?
Green columns indicate bullish momentum confirmed by the trend filter, red columns indicate bearish momentum confirmed by the trend filter, and gray columns indicate a lack of trend confirmation.
Can I change the calculation method for the averages?
Yes, you can toggle the "EMA Signal" or "Simple MA" settings to switch between standard EMA, SMA, or the default lower-lag DEMA calculations.
How can I access Beep Boop?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.