MACD/ATR
Apr 7, 2020

The MACD/ATR indicator tool provides a normalized version of the standard Moving Average Convergence Divergence by dividing the oscillator value by the Average True Range (ATR) to ensure more consistent scaling across different price levels. This normalization helps traders identify momentum shifts and potential trade triggers within a standardized range, typically between -1 and 1.
Usage
The MACD/ATR indicator is used primarily to identify trend momentum and potential reversals. Because the values are normalized by ATR, the oscillator becomes less dependent on the nominal price of the asset, making it easier to set fixed threshold levels for overextended conditions.
Traders can use the following signals:
- Zero Line Crosses: When the MACD line crosses above zero, it indicates bullish momentum; a cross below zero indicates bearish momentum.
- Signal Line Crossovers: Bullish signals occur when the MACD line crosses above the signal line, while bearish signals occur when it crosses below.
- Histogram Analysis: The color-coded histogram shows the difference between the MACD and the signal line, highlighting whether momentum is accelerating or decelerating.
- Threshold Levels: The indicator includes lines at 1.0 and -1.0, which can serve as reference points for identifying significant deviations in momentum relative to current volatility.
Details
Standard MACD values vary significantly depending on the asset's price, making it difficult to compare momentum across different symbols or timeframes. By dividing the difference between the fast and slow moving averages by the ATR, this tool transforms the MACD into a volatility-adjusted oscillator. This process "restricts" the output, keeping it mostly within a defined range. The stability of this range depends on the ATR length; shorter ATR periods adapt faster to volatility, while longer periods may result in more frequent outliers beyond the -1 to 1 boundaries.
Settings
- Fast Length: Sets the period for the shorter moving average used in the MACD calculation.
- Slow Length: Sets the period for the longer moving average used in the MACD calculation.
- Source: Determines the price data used for calculations (e.g., Close, Open, High, Low).
- Signal Smoothing: The period used to calculate the signal line from the MACD oscillator.
- Simple MA (Oscillator): Toggle to use a Simple Moving Average instead of an Exponential Moving Average for the fast and slow lines.
- Simple MA (Signal Line): Toggle to use a Simple Moving Average for the signal line smoothing.
- ATR Length: The lookback period for the Average True Range used to normalize the MACD.
FAQ
How do I interpret the histogram colors? The histogram uses different shades to show momentum strength. Bright green/red indicates increasing momentum in that direction, while darker/faded shades indicate that the momentum is beginning to weaken or revert toward the signal line.
What happens if I increase the ATR Length? Increasing the ATR Length makes the normalization factor more stable. However, if the market becomes significantly more volatile than the historical average defined by that length, you may see the indicator move more frequently outside the -1 and 1 range.
How can I access the MACD/ATR? 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.