All indicators

RSI w MA Strategy

Mar 22, 2021

Static chart image
SignalsOscillatorsMoving Averages

The RSI w MA Strategy indicator is a momentum-based trading tool that utilizes crossovers between the Relative Strength Index (RSI) and its moving average to identify trend shifts and potential entry/exit points.

Usage

The RSI w MA Strategy is primarily designed for volatile markets such as cryptocurrencies. It generates signals based on the relationship between the RSI and a Simple Moving Average (SMA) of that RSI:

  • Long Entry: Occurs when the RSI crosses above its moving average, suggesting increasing bullish momentum.
  • Short Entry: Occurs when the RSI crosses below its moving average, suggesting increasing bearish momentum.

Users can observe the "Difference" histogram to gauge the strength of the crossover; larger bars indicate a wider gap between the RSI and its MA. The strategy also includes a backtesting window, allowing traders to evaluate performance over specific historical dates.

Details

The script calculates a standard RSI based on a user-defined length. It then applies a Simple Moving Average to this RSI value. By trading the crossovers of these two lines rather than static overbought/oversold levels, the strategy attempts to capture the trend of the momentum itself. The script also includes visual components like background coloring for the test period and triangle shapes to mark signal occurrences.

Settings

Backtest Window

  • Backtest Start Year/Month/Day: Sets the starting date for the strategy simulation.
  • Backtest Stop Year/Month/Day: Sets the ending date for the strategy simulation.
  • Color Background?: Toggles the teal background highlight for the active backtesting period.

Indicators

  • Length: Determines the lookback period for the RSI calculation (default is 27).
  • RSI MA Window: Sets the period for the Simple Moving Average applied to the RSI (default is 10).

FAQ

How do I interpret the histogram bars?

The histogram represents the difference between the RSI and its MA. Positive (green) bars indicate the RSI is above the MA, while negative (red) bars indicate it is below.

Can I use this on timeframes other than daily?

Yes, the strategy can be applied to any timeframe, though it was originally designed with cryptocurrency markets in mind where momentum trends can be particularly strong.

How can I access the RSI w MA Strategy?

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.