MACD_VXI

May 17, 2015

Static chart image
Signals
Oscillators
Moving 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 access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.