All indicators

RSI Regime Filter

By LuxAlgoAug 4, 2026

RSI Regime Filter is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

RSI Regime Filter takes the signals every oscillator trader knows - divergences and overbought/oversold entries - and, once its RSI Regime Filter setting is enabled (it is off by default), checks each one against a classification of the broader market before it reaches your chart. A momentum-family build at heart, its edge is context: four selectable regime methods (RSI level, EMA trend, ADX direction, or a composite vote) judge whether conditions are ranging enough for mean-reversion signals to make sense, suppressing setups that amount to catching a falling knife.

How to Trade the RSI Regime Filter?

  • Divergences in neutral regimes: bullish and bearish divergences are detected at confirmed price swing lows and highs by comparing the RSI readings at those bars; with the filter on, they plot only when the active method reads the market as neutral at both swings.
  • Volume bubbles at extremes: when the RSI enters overbought or oversold territory, bubbles sized by relative volume appear - larger bubbles mean heavier participation behind the extreme.
  • Dashboard before decisions: the on-chart panel summarizes the current RSI value, ADX strength, and EMA positioning, so the active regime is always one glance away.

RSI Regime Filter Settings

  • RSI length, Overbought level, Oversold level: the core calculation and the thresholds that define extremes.
  • Pivot left bars / Pivot right bars: bars required on each side of a pivot before divergences are drawn from it.
  • Require RSI extreme: accepts only divergences that form in overbought or oversold conditions.
  • Regime method: picks the classification logic, tuned by EMA length, DMI length, ADX smoothing, and ADX trend threshold.
  • RSI Regime Filter: toggles the signal filtering itself; display options (divergence boxes, 50-level markers, OB/OS bubbles, trend-strength candle coloring, regime chart coloring) each carry their own toggle.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
Original indicatorBuilt in-house by LuxAlgo
All 54 RSI indicators

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.