All indicators

MACD/EMA/SMA/Ichimoku Confluence Strategy

Jun 27, 2019

Static chart image
Support and ResistanceSignalsOscillatorsMoving AveragesVolatility

The MACD/EMA/SMA/Ichimoku Confluence Strategy indicator provides a comprehensive trend-following framework that filters trading signals based on the confluence of momentum, trend, and volatility components.

Usage

The strategy is designed to identify long-entry opportunities by evaluating price action relative to key benchmarks. It uses a conditional logic system where the requirements for a signal change based on the market's position relative to the 200 SMA:

  • Bullish Context (Price > 200 SMA): A buy signal is generated if the price closes above the 21 EMA, the MACD shows bullish momentum (histogram increasing or positive), and the price is either inside the Ichimoku cloud or the cloud is green.
  • Bearish Context (Price < 200 SMA): A more conservative buy signal is required, needing the price to close above the 21 EMA, the MACD to be bullish, and the price to be specifically above the Ichimoku cloud.

The strategy also incorporates Parabolic SAR, RSI, and Bollinger Bands as additional filters to ensure entries do not occur during overbought conditions or near upper volatility bands.

Details

The script combines several classic technical analysis concepts to minimize false signals:

  • Trend Identification: Uses the 200-period Simple Moving Average (SMA) for long-term trend direction and the 21-period Exponential Moving Average (EMA) for medium-term momentum.
  • Cloud Analysis: Employs the Ichimoku Kinko Hyo components (Conversion Line, Base Line, and Leading Spans) to define support and resistance zones.
  • Volatility and Momentum: Integrates Bollinger Bands for range detection, RSI for overbought/oversold filtering, and the MACD for trend strength confirmation.

Settings

Parabolic SAR

  • Start: The starting factor for the SAR calculation.
  • Increment: The step increment for the SAR.
  • Maximum: The maximum value the acceleration factor can reach.

Ichimoku

  • Conversion Line Periods: The lookback period for the Tenkan-sen.
  • Base Line Periods: The lookback period for the Kijun-sen.
  • Lagging Span 2 Periods: The lookback period for the Senkou Span B.
  • Displacement: The number of periods to displace the cloud forward.

RSI

  • RSI Length: The lookback period for the Relative Strength Index.
  • RSI Oversold/Overbought: Threshold levels used to filter entries based on momentum extremes.

Bollinger Bands

  • BB Length: The period for the basis SMA.
  • BB Multiplier: The standard deviation multiplier for the bands.

Moving Averages

  • SMA Length: The period for the long-term trend filter (default 200).
  • EMA Length: The period for the medium-term trigger line (default 21).

MACD

  • MACD Fast/Slow/Signal: The standard parameters for calculating the Moving Average Convergence Divergence.

FAQ

How do I use this indicator? You can apply the script to your chart and monitor for "Buy" labels or alerts which indicate that all confluence conditions (SMA, EMA, MACD, and Ichimoku) have been met.

Can I use this on different timeframes? Yes, the strategy is designed to be versatile across various timeframes, though it is optimized for conservative entries in trending markets.

How can I access the MACD/EMA/SMA/Ichimoku Confluence Strategy? 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.