RSI chop filter
Mar 21, 2020

The RSI chop filter indicator provides a visual framework for identifying market consolidation and trend potential by analyzing Relative Strength Index (RSI) levels. It helps traders avoid "chop" zones where price action is sideways and highlights optimal entry conditions when momentum shifts out of overbought or oversold territories.
Usage
The indicator displays colored squares at the bottom of the chart to categorize the current market state based on RSI values:
- Chop Zone (Light Blue): Indicated when the RSI is between 40 and 60. This suggests a lack of strong momentum where signals should generally be avoided.
- Tight Chop (Solid Blue): Indicated when the RSI is between 45 and 55. This represents extreme consolidation; staying away from the market is often advised during these periods.
- Trend Potential (Light Green/Red): Displays when the RSI is in oversold (<30) or overbought (>70) regions. Signals are permitted as the market is at an extreme.
- Entry Signals (Solid Green/Red): Triggered when the RSI crosses up through the oversold level (Buy) or down through the overbought level (Sell).
Traders can use this tool as a logic filter for their own strategies by ensuring trades are only taken when the "chop" condition is false.
Details
The script calculates a standard 14-period RSI using a Relative Moving Average (RMA). It then segments the RSI range into specific zones:
- Central Zone (40-60): Defined as the "Chop" area.
- Narrow Central Zone (45-55): Defined as "Tight Chop."
- Extremes: Standard 30/70 levels are used to define momentum exhaustion and subsequent reversals.
While this implementation uses the RSI, the logic of filtering out the "middle" of an oscillator can be applied to various other momentum indicators like the Stochastic RSI or CCI to improve signal quality during ranging markets.
Settings
- RSI Length: Set to 14 by default, this determines the lookback period for the RSI calculation.
- Oversold Level: Set to 30, defining the threshold for undervalued conditions.
- Overbought Level: Set to 70, defining the threshold for overvalued conditions.
FAQ
How do I interpret the square plots?
The squares at the bottom of your chart act as a status bar. Blue colors indicate ranging/chop (no trade), while green and red indicate momentum shifts or extremes where trading activity is more favorable.
Can I use this for automated alerts?
Yes, the script includes optimized alert conditions for "Trend Buy" and "Trend Sell" events, which trigger when the RSI exits the extreme overbought or oversold zones.
How can I access the RSI chop filter?
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.