Cumulative RSI Strategy
Oct 11, 2021

The Cumulative RSI Strategy tool provides a systematic approach to mean-reversion trading by aggregating RSI values over a specific lookback period to identify overextended market conditions.
Usage
The strategy is designed to identify short-term extremes in price action for both entry and exit points. A typical use case involves entering a long position when the Cumulative RSI crosses above a specific oversold threshold, indicating a potential recovery from a depressed state. Conversely, the strategy closes the position when the Cumulative RSI crosses above an overbought threshold, capturing profit as momentum reaches an exhausted peak.
Users can apply an optional trend filter to align trades with the prevailing market direction. When enabled, long entries are only permitted if the current price is above a specified Exponential Moving Average (EMA).
Details
This strategy is based on concepts presented in "Short Term Trading Strategies That Work" by Larry Connors and Cesar Alvarez. Unlike a standard RSI which looks at a single point in time, the Cumulative RSI sums the RSI values over a defined number of bars. This creates a smoother yet more reactive oscillator that helps filter out minor fluctuations while highlighting more significant shifts in momentum. The cumulative nature of the calculation allows the indicator to stay in overbought or oversold territories more clearly than a standard 2-period or 3-period RSI.
Settings
- RSI Length: Determines the period used for the underlying RSI calculation.
- RSI Cumulation Length: The number of RSI values to sum together to create the cumulative output.
- Oversold Level: The threshold for the exit signal (Profit taking).
- Overbought Level: The threshold for the entry signal (Buying the dip).
- Only Trade When Price is Above EMA?: A toggle to enable/disable the trend-following filter.
- EMA Length: The period of the Exponential Moving Average used for the trend filter.
- Backtest Window: Input fields for Start/End Date, Month, and Year to define the historical testing range.
FAQ
How do I use the Cumulative RSI Strategy?
You can use the strategy to automate entries and exits based on mean-reversion principles or as a signal generator for manual trading to identify optimal take-profit zones.
What is the advantage of a cumulative RSI over a standard RSI?
The cumulative approach provides a broader view of momentum exhaustion by accounting for multiple bars of data, often resulting in more reliable exit signals compared to waiting for a price reversal or trailing stop.
How can I access this script?
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.