RSI with Moving Averages
Nov 10, 2019

The RSI with Moving Averages indicator provides a multi-layered momentum analysis tool that integrates standard Relative Strength Index (RSI) calculations with dual moving averages to identify trend shifts, market regimes, and potential reversal points.
Usage
The Usage section describes how to interpret the various visual components and signals provided by the indicator:
- Trend Identification: The relationship between the RSI Simple Moving Average (SMA) and the Exponential Moving Average (EMA) serves as a primary trend filter. When the SMA is above the EMA, the background fill turns green, indicating bullish momentum. Conversely, when the SMA is below the EMA, the fill turns red, indicating bearish momentum.
- Support and Resistance Levels: Beyond the standard overbought (70) and oversold (30) levels, this tool includes specific markers for market regimes. The Bull Trend Support level (default 40) often acts as a floor during uptrends, while the Bear Trend Resistance level (default 60) acts as a ceiling during downtrends.
- Crossover Signals: Traders can look for crossovers between the RSI and its moving averages or crossovers between the two moving averages themselves to identify entries or exits.
- Momentum Confluence: By observing the RSI line in relation to the SMA and EMA, users can gauge the strength of a move. When the RSI leads the moving averages out of the overbought or oversold zones, it may signal a trend reversal.
Details
The RSI with Moving Averages is a refactored version of the original concept by Phi-Deltalytics. It utilizes a three-component smoothing process:
- Primary RSI: Calculates the standard relative strength of price action.
- Short-term Smoothing (SMA): Applied to the RSI to filter out high-frequency noise and provide a smoother signal line.
- Long-term Smoothing (EMA): Provides a slower baseline to determine the broader momentum trend within the RSI window.
The indicator is designed for visual clarity, using dynamic fills to highlight the delta between the two moving averages. It also includes optimized alerts for SMA/EMA crossovers, allowing for automated monitoring of trend changes.
Settings
- RSI Period: Determines the lookback period for the standard RSI calculation (Default: 14).
- RSI SMA Period: Sets the length for the Simple Moving Average applied to the RSI line (Default: 13).
- RSI EMA Period: Sets the length for the Exponential Moving Average applied to the RSI line (Default: 33).
- RSI Bull Trend Support: Defines the horizontal level used to identify support in bullish market conditions (Default: 40).
- RSI Bear Trend Resistance: Defines the horizontal level used to identify resistance in bearish market conditions (Default: 60).
FAQ
What is the difference between the Bull Support and Bear Resistance levels? In a trending market, RSI often oscillates between different ranges. The 40 level frequently acts as support during a bull market, while the 60 level acts as resistance during a bear market, helping traders identify the current market regime.
How do the alerts work? The script triggers alerts when the RSI SMA crosses above or below the RSI EMA. These signals are intended to notify the user of potential shifts in momentum trend.
How can I access RSI with Moving Averages? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.