All indicators

MACD_VXI

May 17, 2015

Static chart image
SignalsOscillatorsMoving Averages

The MACD_VXI indicator provides a visual momentum and trend-following framework by identifying crossovers between the MACD and signal lines through integrated markers and directional background coloring.

Usage

The Usage section describes how the script can be used to identify trend shifts and momentum exhaustion. The indicator displays three primary visual components: the MACD line, the Signal line, and a Histogram.

  • Trend Identification: Users can monitor the background color to determine the current market regime. A green background indicates that the MACD line is above the Signal line (bullish bias), while a red background indicates the Signal line is above the MACD line (bearish bias).
  • Crossover Signals: High-contrast circle markers appear on the Signal line whenever a crossover occurs. These markers highlight potential entry or exit points where momentum is shifting.
  • VX System Integration: This tool is designed to function as a core component of the "VX" suite. It is often used in conjunction with the Baseline_VX1 and Stoch_VX3 to form a comprehensive technical analysis strategy where signals are confirmed across multiple volatility and momentum filters.

Details

The MACD_VXI is constructed using exponential moving averages (EMA) for the core MACD calculation and a simple moving average (SMA) for the signal line. Unlike the standard 12/26/9 setting, this version defaults to a 13/21/8 configuration, offering a slightly more reactive response to price action.

The script calculates the difference between the Fast EMA and the Slow EMA to derive the MACD line. The Signal line is then calculated as an SMA of that difference. The Histogram represents the gap between the MACD and Signal lines, providing a visual representation of momentum strength. The background coloring logic is tied directly to the relationship between the MACD and Signal lines, ensuring that the visual environment of the chart reflects the underlying momentum state.

Settings

  • Fast Length: Determines the period for the shorter Exponential Moving Average (default is 13). A lower value makes the indicator more sensitive to recent price changes.
  • Slow Length: Determines the period for the longer Exponential Moving Average (default is 21). This provides the baseline for the trend calculation.
  • Signal Length: Determines the period for the Simple Moving Average applied to the MACD line (default is 8). This smoothens the output to create the signal line.

FAQ

What do the circle markers on the chart signify? The circle markers indicate a crossover between the MACD line and the Signal line, which typically suggests a change in short-term momentum.

How does the background color assist in trading? The background color provides an immediate visual filter for trend direction, allowing traders to quickly identify whether the current momentum is bullish (green) or bearish (red) without manually checking line positions.

How can I access MACD_VXI? 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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.