PROTECTED SOURCE SCRIPT
Telah dikemas kini

IBD Style Relative Strength Rating

606
Welcome to the IBD Style Relative Strength Rating Indicator!

A powerful tool inspired by Investor's Business Daily (IBD), this indicator helps traders evaluate stock performance relative to a benchmark. It’s perfect for identifying strong or weak stocks compared to the broader market, specifically the S&P 500 (SPY). Whether you're a beginner or an experienced investor, this guide will walk you through its features and key concepts, including the RS Line and RS Rating, and how legendary trader Mark Minervini uses similar tools.

Understanding the RS Line & RS Rating
RS Line (Relative Strength Line)
A visual representation of how a stock’s price performs relative to SPY.
Calculated by dividing the stock’s closing price by SPY’s closing price and multiplying by 100.
Rising RS Line → Stock is outperforming SPY.
Falling RS Line → Stock is underperforming SPY.
Helps identify strength or weakness compared to the market.

RS Rating
A numerical score (1-99) measuring stock performance over 252 trading days (1 year) relative to SPY.
Above 80 → Top 20% of performers.
Above 90 → Top 10% (ideal for growth investors).
Weighted average of stock’s price changes over 63, 126, 189, and 252 days.

Key Features Explained

RS Line Color Mode:
Static (default white) or Dynamic (green when rising, red when falling) for quick trend identification.

Comparative Symbol:
Default: SPY. Can be changed to NASDAQ:NDX, AAPL, or other indices/stocks.
Ensure selected symbols have sufficient historical data.

Plot RS New Highs: Marks new 250-day highs with subtle blue circles
Indicates a stock significantly outperforming SPY (potential buy signal).

Plot RS New Lows: Marks new 250-day lows with red circles
Signals underperformance (possible sell or avoid indicator).

Lookback for Display: Adjustable up to 2000 bars for historical trend analysis.

RS Rating Color Scheme
Green: Upward trend (improving RS Rating).
Orange: Neutral/mixed trend.
Red: Downward trend (declining RS Rating).

Dynamic Color Settings
Rising Line Color: Green (default), customizable.
Falling Line Color: Red (default), adjustable.

Advanced Options
Enable Replay Mode: Uses fixed percentile values for consistent RS Rating calculations in backtesting.

RS Rating Table
Displays current RS Rating and values from previous day, week, and month in the top-right corner (daily charts).
Background color reflects trend: Green (up), Orange (neutral), Red (down).
Past values appear in neutral gray for a quick performance snapshot.

How Mark Minervini Uses This Indicator

Mark Minervini, a legendary trader, emphasizes Relative Strength as a core strategy:
Looks for stocks with:
Rising RS Line.
RS Rating above 80-90 (top performers).
RS New Highs to spot breakout candidates.
Avoids stocks with:
Declining RS Line.
RS Rating below 70.

Important Information for Beginners
RS vs. SPY
The indicator compares stock performance against SPY (S&P 500).
Rising RS Line → Stock is beating SPY.
Falling RS Line → Stock is lagging.

Why Use This Indicator?
Helps find strong relative strength stocks, crucial for bullish trends.
New highs/lows on the RS Line signal significant shifts.
The RS Rating quantifies percentile-based performance.

Customization Options
Adjust colors, lookback periods, and marker sizes to match your trading style.
Default SPY comparison is ideal for U.S. traders but can be customized.

Timeframe Considerations
Optimized for daily charts.
Weekly/monthly charts may have limited data availability.

Tips for Crypto Traders (Measuring Altcoins vs. Bitcoin or Total Market Cap)
If trading cryptocurrencies, this indicator can measure altcoins vs. Bitcoin (BTC) or the total crypto market cap (TOTAL):

Comparative Symbol Setup:
Set Comparative Symbol to BTCUSD to compare an altcoin (e.g., ETHUSD) against Bitcoin.
Rising RS Line → The altcoin is outperforming Bitcoin (bullish signal).
Use TOTAL (crypto market cap index) to assess an altcoin’s strength against the total market.
High RS Rating suggests the altcoin is a market leader.

Adjust Look-back Periods:
Crypto markets are volatile, so reduce Look-back for New Highs/Lows to 50-100 bars (about 2-4 months) for shorter-term trends.
Fine-tune based on your trading strategy.
New Highs and Lows:
Watch for new RS Line highs (blue dots) to identify altcoins breaking out against BTC or TOTAL (momentum trading).
New lows (red dots) may signal weakening altcoins to avoid.
RS Rating Interpretation:
Above 80 against BTC or TOTAL → The altcoin is a strong performer.
This aligns with Minervini’s growth strategy for stocks.
Color Dynamics:
Use Dynamic RS Line Color (green for rising, red for falling) to quickly spot altcoin trends against BTC or TOTAL.

Crypto data may have gaps—test indicator settings on different timeframes (e.g., 1-hour or 4-hour charts).

Tips for Getting Started
Apply the Indicator to a stock chart and set Comparative Symbol to SPY.
Watch the RS Line:
If trending upward with new highs and RS Rating > 80, it's a strong candidate.
Use the RS Rating Table to check for trend consistency.
Adjust Opacity Settings for markers to balance visibility and clarity.

This indicator is now ready for public use as of March 18, 2025. Enjoy trading with enhanced insights, and feel free to share feedback or suggestions for future updates!
Nota Keluaran
Welcome to the IBD Style Relative Strength Rating Indicator!

A powerful tool inspired by Investor's Business Daily (IBD), this indicator helps traders evaluate stock performance relative to a benchmark. It’s perfect for identifying strong or weak stocks compared to the broader market, specifically the S&P 500 (SPY). Whether you're a beginner or an experienced investor, this guide will walk you through its features and key concepts, including the RS Line and RS Rating, and how legendary trader Mark Minervini uses similar tools.

Understanding the RS Line & RS Rating

RS Line (Relative Strength Line)

A visual representation of how a stock’s price performs relative to SPY.

Calculated by dividing the stock’s closing price by SPY’s closing price and multiplying by 100.
Rising RS Line → Stock is outperforming SPY.
Falling RS Line → Stock is underperforming SPY.
Helps identify strength or weakness compared to the market.
RS Rating

A numerical score (1-99) measuring stock performance over 252 trading days (1 year) relative to SPY.

Above 80 → Top 20% of performers.
Above 90 → Top 10% (ideal for growth investors).
Utilizes Average Daily Range (ADR) to measure the performance difference between the stock and the benchmark.
Key Features Explained

RS Line Color Mode:

Static (default white) or Dynamic (green when rising, red when falling) for quick trend identification.

Comparative Symbol:

Default: SPY. Can be changed to NASDAQ:NDX, AAPL, or other indices/stocks.

Ensure selected symbols have sufficient historical data.

Plot RS New Highs: Marks new 250-day highs with subtle orange circles

Indicates a stock significantly outperforming SPY (potential buy signal).

Plot RS New Lows: Marks new 250-day lows with red circles

Signals underperformance (possible sell or avoid indicator).

Lookback for Display: Adjustable up to 2000 bars for historical trend analysis.

RS Rating Color Scheme

Green: Upward trend (improving RS Rating).
Blue: Neutral/mixed trend.
Red: Downward trend (declining RS Rating).
Dynamic Color Settings

Rising Line Color: Green (default), customizable.
Falling Line Color: Red (default), adjustable.
Advanced Options

Enable Replay Mode: Uses fixed percentile values for consistent RS Rating calculations in backtesting.
RS Rating Table

Displays current RS Rating and values from previous day, week, and month in a customizable position (daily charts).

Background color reflects trend: Green (up), Blue (neutral), Red (down).

Past values appear in neutral gray for a quick performance snapshot.

How Mark Minervini Uses This Indicator

Mark Minervini, a legendary trader, emphasizes Relative Strength as a core strategy:

Looks for stocks with:
Rising RS Line.
RS Rating above 80-90 (top performers).
RS New Highs to spot breakout candidates.
Avoids stocks with:
Declining RS Line.
RS Rating below 70.
Important Information for Beginners

RS vs. SPY

The indicator compares stock performance against SPY (S&P 500).

Rising RS Line → Stock is beating SPY.
Falling RS Line → Stock is lagging.
Why Use This Indicator?

Helps find strong relative strength stocks, crucial for bullish trends.
New highs/lows on the RS Line signal significant shifts.
The RS Rating quantifies percentile-based performance.
Customization Options

Adjust colors, lookback periods, and marker sizes to match your trading style.

Default SPY comparison is ideal for U.S. traders but can be customized.

Timeframe Considerations

Optimized for daily charts.

Weekly/monthly charts may have limited data availability.

Tips for Crypto Traders (Measuring Altcoins vs. Bitcoin or Total Market Cap)

If trading cryptocurrencies, this indicator can measure altcoins vs. Bitcoin (BTC) or the total crypto market cap (TOTAL):

Comparative Symbol Setup:

Set Comparative Symbol to BTCUSD to compare an altcoin (e.g., ETHUSD) against Bitcoin.
Rising RS Line → The altcoin is outperforming Bitcoin (bullish signal).
Use TOTAL (crypto market cap index) to assess an altcoin’s strength against the total market.
High RS Rating suggests the altcoin is a market leader.
Adjust Look-back Periods:

Crypto markets are volatile, so reduce Look-back for New Highs/Lows to 50-100 bars (about 2-4 months) for shorter-term trends.
Fine-tune based on your trading strategy.
New Highs and Lows:

Watch for new RS Line highs (orange dots) to identify altcoins breaking out against BTC or TOTAL (momentum trading).
New lows (red dots) may signal weakening altcoins to avoid.
RS Rating Interpretation:

Above 80 against BTC or TOTAL → The altcoin is a strong performer.
This aligns with Minervini’s growth strategy for stocks.
Color Dynamics:

Use Dynamic RS Line Color (green for rising, red for falling) to quickly spot altcoin trends against BTC or TOTAL.
Crypto data may have gaps—test indicator settings on different timeframes (e.g., 1-hour or 4-hour charts).

Tips for Getting Started

Apply the Indicator to a stock chart and set Comparative Symbol to SPY.
Watch the RS Line:
If trending upward with new highs and RS Rating > 80, it's a strong candidate.
Use the RS Rating Table to check for trend consistency.
Adjust Opacity Settings for markers to balance visibility and clarity.
Version 1.2 Updates (April 27, 2025)

Added adjustable RS Line thickness for better visibility.
Added customizable table text size (Tiny, Small, Normal, Large).
Added table position selection (Top Right, Top Left, Bottom Right, Bottom Left).
Added option to show Trend Duration in the table (number of bars since RS Rating is above 70).
Changed New High marker color from blue to orange for improved visual distinction.
This indicator is now updated as of April 27, 2025. Enjoy trading with enhanced insights, and feel free to share feedback or suggestions for future updates!

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.