Relative Strength Comparison (RSC) Indicator Signals
Jun 11, 2019

The Relative Strength Comparison (RSC) Indicator Signals tool measures the performance of a financial instrument relative to a benchmark symbol to identify periods of outperformance and underperformance. By comparing price changes over a specific period and smoothing the results with a moving average, it provides clear bullish and bearish signals based on trend momentum.
Usage
The indicator can be used to identify trend shifts in relative strength. When the RSC line crosses above its simple moving average (SMA), it signals a bullish shift, suggesting the primary symbol is gaining strength relative to the benchmark. Conversely, a cross below the SMA indicates a bearish shift.
Examples of use cases include:
- Trend Confirmation: Using the zero-line crossovers to confirm if a symbol is currently performing better (above 0) or worse (below 0) than the selected index.
- Momentum Shifts: Monitoring the relationship between the RSC line and the SMA to anticipate early changes in relative momentum before they are reflected in the price action alone.
Details
The script calculates the Comparative Relative Strength (CRS) by dividing the price change of the current symbol by the price change of a comparison symbol (e.g., SPX500) over a user-defined period. The formula subtracts 1 to center the baseline around zero.
- CRS Calculation:
((Symbol Close / Symbol Close [n]) / (Benchmark Close / Benchmark Close [n]) - 1.0) - Smoothing: A Simple Moving Average (SMA) is applied to the CRS values to filter out minor fluctuations and provide a signal line for trend identification.
- Visuals: The indicator features dynamic coloring where the plots and fills change based on whether the current relative strength is above or below the moving average.
Settings
- Comparison Index: The symbol used as the benchmark for the relative strength calculation (e.g., SPY, BTC, or Gold).
- Comparison Period: The lookback period used to calculate the percentage change for both the main symbol and the benchmark.
- Moving Average Period: The length of the SMA applied to the RSC line used for generating signal crossovers.
FAQ
How do I interpret the zero line?
The zero line represents parity with the benchmark. When the RSC line is above zero, the asset is outperforming the benchmark over the selected period; when below zero, it is underperforming.
What are the primary signals provided?
The primary signals are crossovers between the RSC line and its Moving Average. A crossover up is typically viewed as a buy/bullish signal, while a crossunder is viewed as a sell/bearish signal.
How can I access the Relative Strength Comparison (RSC) Indicator Signals?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

