All indicators

MACD of RSI

Oct 10, 2018

Static chart image
SignalsOscillators

The MACD of RSI indicator identifies trend momentum and potential reversals by applying Moving Average Convergence Divergence (MACD) logic to Relative Strength Index (RSI) values rather than price. This approach helps traders filter out market noise and focus on the underlying momentum cycles within price oscillations.

Usage

The Usage section describes how the script can be used to identify trend shifts and momentum strength. Traders can utilize the MACD of RSI to spot early trend reversals when the MACD line crosses the signal line or when the histogram changes polarity.

  • Bullish Momentum: Occurs when the MACD line (blue) crosses above the signal line (red) and the histogram turns positive.
  • Bearish Momentum: Occurs when the MACD line crosses below the signal line and the histogram turns negative.
  • Zero Line Crossings: Movements above or below the zero line on the histogram represent significant shifts in the trend direction of the RSI.

Details

This script calculates an RSI based on a Simple Moving Average (SMA) of price gains and losses. It then derives two Exponential Moving Averages (EMAs) from that RSI value: a Fast EMA and a Slow EMA. The difference between these two averages forms the MACD line. A third EMA, known as the Signal Line, is applied to the MACD line. The final output is represented by the MACD line, the Signal line, and a Histogram depicting the difference (delta) between the two. The inclusion of date-range filters allows for backtesting performance within specific timeframes.

Settings

  • Length: Determines the lookback period for the initial RSI calculation.
  • Fast Length: The period for the shorter-term EMA used in the MACD calculation.
  • Slow Length: The period for the longer-term EMA used in the MACD calculation.
  • Signal Length: The smoothing period for the MACD Signal line.
  • Date Range Settings: (Month From, Month Until, Day From, Day Until) Define the specific time window for the strategy execution and performance tracking.

FAQ

How do I interpret the histogram?

The histogram represents the difference between the MACD line and the Signal line. A positive histogram indicates strengthening bullish momentum, while a negative histogram indicates strengthening bearish momentum.

Can I use this for day trading?

Yes, the MACD of RSI is effective across various timeframes; however, users should adjust the Length and MACD parameters to suit the volatility of the specific asset being traded.

How 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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

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