All indicators

RSI/MFI with Volatility Bands

Nov 19, 2017

Static chart image
Volume BasedSignalsOscillatorsVolatility

The RSI/MFI with Volatility Bands indicator is a comprehensive momentum oscillator that combines multiple classic indicators with dynamic volatility bands to help traders identify overbought and oversold conditions across various timeframes.

Usage

The Usage section describes how the script can be used to analyze market momentum and volatility. By integrating several oscillators into a single pane, traders can look for convergences or divergences between different momentum metrics.

  • Multi-Indicator Analysis: You can toggle the visibility of the RSI, Money Flow Index (MFI), Ultimate Oscillator (UO), and Stochastic RSI to compare price momentum with volume-weighted momentum.
  • Volatility Bands: Bollinger Bands can be applied to a selected oscillator (RSI, MFI, or UO) to identify extreme movements relative to the oscillator's own historical volatility rather than just static levels.
  • Breach Highlighting: The script can highlight the background when the selected indicator breaches the volatility bands or when a Stochastic RSI crossover occurs, signaling potential reversal points.
  • Histogram Analysis: A built-in expansion/contraction histogram based on Stochastic RSI helps visualize the acceleration or deceleration of momentum.

Details

This tool refines the concept of normalized oscillators by adding dynamic thresholds. While traditional levels like 70/30 are static, the inclusion of Bollinger Bands allows the "overbought" and "oversold" zones to expand or contract based on the oscillator's recent activity. The script includes logic for the Ultimate Oscillator (using three different timeframes) and the Money Flow Index (which incorporates volume data), providing a more holistic view of market participation than the RSI alone.

Settings

Primary Settings

  • Lag: Sets the lookback period for the RSI, MFI, and Bollinger Bands calculation.
  • Draw RSI? / Draw MFI? / Draw UO?: Toggles the visibility of each respective oscillator.
  • Draw Stochastic RSI?: Enables the display of the Stochastic RSI lines.

Stochastic RSI & Histogram

  • Overbought/Oversold thresholds: Sets the levels for Stochastic RSI specific alerts (default 80/20).
  • Smooth (K/D): Controls the smoothing periods for the Fast and Slow Stochastic lines.
  • Show Fast/Slow expansion histogram: Enables a histogram representing the difference between the K and D lines.

Volatility Bands & Highlighting

  • BB = base +/- ...StdDev: Determines the width of the Bollinger Bands using standard deviations.
  • Draw BB on...: Selection menu to choose which indicator (RSI, MFI, UO, or VFI) the Bollinger Bands should be calculated from.
  • Highlight Overbought/Oversold?: Toggles background coloring when extremes are reached.
  • Overbought/Oversold basis: Choose whether signals are triggered by Bollinger Band breaches or Stochastic RSI crossovers.

FAQ

How do I interpret the background colors?

Background highlights indicate potential reversal zones. Green highlights suggest an oversold or bullish condition, while red highlights suggest an overbought or bearish condition based on your selected "Overbought/Oversold basis" in the settings.

Can I use this for volume analysis?

Yes, by enabling the MFI (Money Flow Index), you are viewing momentum that is weighted by volume, which can often lead or confirm standard RSI movements.

How do I access this indicator?

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.