All indicators

Stochastic RSI and MACD leader

Oct 9, 2019

Static chart image
SignalsOscillatorsMoving Averages

The Stochastic RSI and MACD leader indicator combines momentum and trend-following components to provide a comprehensive view of market dynamics and potential reversal points.

Usage

The Usage of this tool centers on the synergy between the Stochastic RSI and the proprietary MACD Leader line. Traders can monitor the Stochastic RSI for overbought (above 80) and oversold (below 20) conditions, while using the MACD Leader to identify trend direction and momentum shifts earlier than standard MACD calculations.

Key use cases include:

  • Momentum Crossovers: Observing crossovers between the Stochastic K and D lines within the overbought/oversold zones.
  • Trend Confluence: Using the MACD Leader in conjunction with Stochastic RSI levels to confirm entries. For example, a bullish Stochastic crossover occurring while the MACD Leader is rising can signal a strong entry point.
  • Divergence Identification: Finding discrepancies between price action and the MACD Leader or Stochastic RSI to anticipate potential trend exhaustion.

Details

This script integrates two primary technical analysis concepts:

  1. Stochastic RSI: This is a Stochastic calculation applied to RSI values rather than price, making it much more sensitive to market movements and helpful for identifying short-term swings.
  2. MACD Leader: This is an optimized version of the Moving Average Convergence Divergence. It utilizes a zero-lag or "leader" style calculation by incorporating double smoothing techniques, aiming to reduce the inherent lag found in traditional exponential moving averages.

By combining these, the script aims to offer the "speed" of the Stochastic RSI with the "direction" provided by the MACD Leader.

Settings

Stochastic RSI

  • Smooth K: Sets the smoothing period for the %K line.
  • Smooth D: Sets the smoothing period for the %D line (the signal line of the %K).
  • RSI Length: The lookback period used for the underlying RSI calculation.
  • Stochastic Length: The lookback period used for the Stochastic calculation applied to the RSI.
  • Source: Determines the price data used for all calculations (default is Close).

MACD Leader

  • MACD Fast Length: The period for the faster moving average.
  • MACD Slow Length: The period for the slower moving average.
  • MACD Signal Smoothing: The smoothing period for the standard MACD signal line.
  • Show MACD line: Toggle to display the standard MACD line on the chart.
  • Show MACD Signal: Toggle to display the standard MACD signal line.
  • Smoothing MA Type: Allows users to choose the type of Moving Average used for the MACD calculations (SMA, EMA, WMA, RMA, or HMA).

FAQ

How do I use the MACD Leader differently from the standard MACD?

The MACD Leader is designed to react faster to price changes than the standard MACD. While the standard MACD is useful for confirming long-term trends, the Leader line is often used to spot early entries or exits before they are reflected in the standard calculation.

Can I change the sensitivity of the Stochastic RSI?

Yes, by adjusting the "RSI Length" and "Stochastic Length" settings, you can make the indicator more or less responsive to price volatility depending on your trading timeframe.

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.