DEMA MACD BUY signal confirmation
Jan 9, 2026

The DEMA MACD BUY signal confirmation indicator identifies potential trend continuation opportunities by combining Double Exponential Moving Average (DEMA) logic with traditional MACD momentum filtering.
Usage
The indicator provides visual labels on the chart to assist with trade entries and exits. It is specifically optimized for trending markets, particularly clear uptrends.
- BUY Signal: Appears when the DEMA MACD line crosses above its signal line while the signal line is rising, further filtered by standard MACD momentum checks.
- SELL Signal: Triggered when the DEMA momentum shifts, signaling a potential exit for an active trade. Note that this is intended as a profit-taking or exit signal rather than a "sell-to-open" or shorting signal.
Users should look for these signals on higher timeframes such as Daily or Weekly charts to filter out market noise and focus on robust trend continuations.
Details
This tool utilizes a dual-layered approach to trend analysis. It first calculates a DEMA-based MACD to provide a more responsive momentum reading compared to standard EMAs. Simultaneously, it applies traditional MACD structure filters to ensure signals only trigger when the broader momentum is recovering or rising. The inclusion of a "MACD structure lookback" helps prevent entries during deep pullbacks or confirmed downtrends.
Settings
HaP MACD Inputs
- Source: The price data used for calculations (default is Close).
- Fast Length: The period for the fast-moving average.
- Slow Length: The period for the slow-moving average.
- Signal Length: The smoothing period for the signal line.
- Oscillator MA Type: Choice between EMA and SMA for the primary oscillator.
- Signal MA Type: Choice between EMA and SMA for the signal line smoothing.
Trend / Momentum Filters
- MACD structure lookback: Determines the window for checking if the MACD has recovered from a low.
- MACD must rise N bars: Sets the required number of consecutive rising bars for a valid buy signal.
- Signal line rising too: An optional toggle to require the signal line to be trending upward for signal confirmation.
Stats / Table
- Track last N trades: The number of historical signals to include in the performance table.
- Show stats table: Toggles the visibility of the performance metrics on the chart.
- Show uptrend note: Displays a warning reminder that the tool is optimized for uptrends.
FAQ
How do I use the SELL signals?
SELL signals are designed as exit markers for long positions established by the BUY signals. They indicate momentum exhaustion rather than a signal to initiate short positions.
What market conditions are best for this tool?
This indicator is most effective in established uptrends. It should be avoided during sideways consolidation or clear downtrending markets where momentum signals can produce false positives.
How can I access the DEMA MACD BUY signal confirmation?
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.