All indicators

Rate Of Change and rsi zones

Jan 29, 2022

Static chart image
SignalsOscillators

The Rate Of Change and rsi zones indicator combines a smoothed Rate of Change (ROC) with RSI-based momentum filtering to identify long-term market reversals and potential trend exhaustion points. This tool is designed primarily for higher timeframes, such as the Daily or Weekly, to assist in Dollar Cost Averaging (DCA) and strategic profit booking near market extremes.

Usage

The tool identifies potential entry and exit zones through a combination of visual markers and line coloring:

  • Buy and Sell Signals: The script plots upward green triangles when the ROC crosses above its SMA while in a lower RSI zone, indicating a bullish recovery. Downward red triangles appear when the ROC crosses below its SMA in a higher RSI zone, suggesting bearish exhaustion.
  • Overbought and Oversold Zones: The ROC line changes color to thick green or red based on RSI levels. A thick green line indicates an oversold region (RSI < 40), while a thick red line indicates an overbought region (RSI > 60).
  • Divergence and Breakouts: Users can observe the relationship between price action and the ROC line. A divergence—where price continues to rise while the ROC slows down—often signals market exhaustion. Additionally, trendlines can be applied directly to the ROC oscillator to spot momentum breakouts.

Details

The script refines the standard Rate of Change calculation by applying a smoothing simple moving average (SMA) to reduce noise. It further validates momentum shifts by incorporating an RSI filter, ensuring that signals are generated within appropriate overbought or oversold contexts. The indicator also features a background fill relative to the zero line, providing a quick visual reference for the current trend bias.

Settings

  • ROC Length: Sets the lookback period for the raw Rate of Change calculation.
  • Source: Determines the price data used for calculations (default is Close).
  • ROC Smooth: Defines the length of the smoothing SMA applied to the raw ROC.
  • ROC SMA Value: The period for the secondary signal line SMA used for crossover detection.
  • RSI Length: The lookback period for the internal RSI used to define the overbought and oversold zones.

FAQ

How do I interpret the thick colored lines?

The thick green and red lines represent RSI-filtered zones. A thick green line highlights oversold conditions, and a thick red line highlights overbought conditions. These are best used as context for the Buy/Sell triangle signals.

What are the best timeframes for this script?

The script is optimized for long-term analysis. Recommended timeframes include the Daily (1D), 3-Day (3D), and Weekly (W) charts to filter out minor market fluctuations.

How can I access Rate Of Change and rsi zones?

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.