PROTECTED SOURCE SCRIPT
已更新

Relative Strength Scanner (10 tickers)

21
Relative Strength Scanner Dashboard (10-Ticker Intraday)
This powerful dashboard provides an efficient, at-a-glance view of the Relative Strength (RS) of up to 10 user-defined symbols against a chosen benchmark (e.g., SPY). It's designed for active traders who need to quickly identify market leaders and laggards across any timeframe, including intraday.
How it Works:
The indicator uses the time-tested concept of Relative Strength by comparing the percentage return of each stock against the percentage return of a reference index/ETF over the same period.
Return Calculation: For each symbol, the script calculates the percent change over a user-defined Lookback Period (e.g., 20 bars) on a user-selected RS Timeframe (e.g., 60-minute, 4-hour, or Daily).
Relative Strength: The RS value is the difference between the symbol's return and the benchmark's return.
$RS = \text{Symbol Return} - \text{Benchmark Return}$$
Real-Time Dashboard: The results are displayed in a non-overlay table, highlighting the strongest performing asset (the Market Leader) with a distinct background color.
Key Features:
Intraday Capable: The RS Timeframe input allows you to accurately measure strength on smaller timeframes (e.g., 15m, 60m), ensuring the lookback window is calculated correctly based on the higher timeframe bars.
Performance Reliability: The underlying logic ensures that the lookback calculation is performed within the request.security context, eliminating the common Pine Script error of mixing chart and security timeframes.
At-a-Glance Leader Identification: The table visually highlights the top-performing symbol with the highest relative strength, making leader rotation instantly obvious.
Configurable Watchlist: Easily input up to 10 symbols and any major index or ETF as your Benchmark Symbol.
Clear Metrics: The dashboard shows three columns: Ticker Name, Absolute Return (%), and RS vs. Benchmark (%).
版本注释
Added table positioning. Can now move table anywhere on the chart.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。