OPEN-SOURCE SCRIPT

RS Ratio vs Benchmark (Colored)

154
๐Ÿ“ˆ RS Ratio vs Benchmark (with Color Change)
A simple but powerful tool to track relative strength against a benchmark like QQQ, SPY, or any other ETF.

๐Ÿ” What it Shows
RS Ratio (orange line): Measures how strong a stock is relative to a benchmark.

Moving Average (teal line): Smooths out RS to show trend direction.

Color-coded RS Line:

๐ŸŸข Green = RS is above its moving average โ†’ strength is increasing.

๐Ÿ”ด Red = RS is below its moving average โ†’ strength is fading.

๐Ÿ“Š How to Read It
Above 100 = Stock is outperforming the benchmark.

Below 100 = Underperforming.

Rising & Green = Strongest signal โ€” accelerating outperformance.

Above 100 but Red = Consolidating or losing momentum โ€” potential rest period.

Crosses below 100 = Warning sign โ€” underperformance.

โœ… Best Uses
Spot leading stocks with strong momentum vs QQQ/SPY.

Identify rotation โ€” when strength shifts between sectors.

Time entries and exits based on RS trends and crossovers.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.