MACD+CCI Strategy
Aug 29, 2018

The MACD+CCI Strategy indicator is a trend-following tool that combines momentum and cyclical oscillators to identify high-probability entry and exit points.
Usage
The strategy utilizes the relationship between the Commodity Channel Index (CCI) and the Moving Average Convergence Divergence (MACD) to determine market direction.
- Long Entries: Occur when the CCI is above 100 and the MACD is positive, or when the CCI is above -100 while the MACD is negative (anticipating a recovery).
- Short Entries: Occur when the CCI is below -100 and the MACD is negative, or when the CCI is below 100 while the MACD is positive.
- Exits: Long positions are closed when the CCI falls below 100, while short positions are closed when the CCI rises above -100.
Users can observe the histogram and signal lines to gauge the strength of the move, while the CCI helps identify overextended conditions relative to the trend.
Details
This tool is based on the methodology popularized by Joseph Nemeth. It bridges the gap between momentum trading and mean reversion by using the CCI to filter MACD signals. By requiring the CCI to cross specific thresholds (100 and -100), the strategy aims to capture the meat of a trend while avoiding "whipsaw" price action often found in choppy markets. The implementation uses Exponential Moving Averages (EMA) for the MACD components and a Simple Moving Average (SMA) for the CCI calculation to maintain standard technical analysis principles.
Settings
- CCI Length: Sets the lookback period for the Commodity Channel Index calculation.
- MACD Fast Length: The period for the shorter-term EMA used in the MACD.
- MACD Slow Length: The period for the longer-term EMA used in the MACD.
- MACD Signal Length: The smoothing period for the MACD signal line.
- CCI Source: Determines the price data (e.g., Close, Open, HL2) used to calculate the CCI.
FAQ
How do I use the MACD+CCI Strategy?
The strategy automatically plots entry and exit signals based on the confluence of CCI levels and MACD momentum. You can adjust the lengths to fit different timeframes.
What are the default overbought/oversold levels?
The strategy uses +100 and -100 for the CCI levels, which are the standard thresholds for identifying trend strength and potential exhaustion.
Where can I access this tool?
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.