Check if a stock is outperforming the broad market before adding it to a watchlist.
Single-chart benchmark comparison
Relative Strength Labels
A minimalist label table that shows how the active chart is performing versus a benchmark over rolling 1M, 3M, and 6M trading windows.
Problem
What it solves
Relative Strength Labels keep a clean benchmark comparison on the chart. They are useful when you want to know whether a stock is actually leading the market or just moving with it.
The point is not to outsource your decision. It is to make structure, leadership, and location easier to see so your own trade plan has cleaner context.
Visual read
How to read the screen
Monitor whether a swing idea is gaining or losing relative momentum.
Add a benchmark lens without adding a full dashboard to the chart.
Core Features
What the script includes
Shows 21, 63, and 126 trading-day relative strength windows.
Defaults to CBOE:SPX as the benchmark for high-quality index comparison.
Uses conditional coloring to separate outperformance from lagging behavior.
Keeps the UI small so price action remains the focus.
Setup
Add it without overcomplicating the chart
- 1
Add the script to the chart you are analyzing.
- 2
Keep the default SPX benchmark or choose your preferred index.
- 3
Read the rolling windows together rather than over-weighting one value.
- 4
Use positive relative strength as a filter, not a standalone entry signal.
Limits
Important notes
The script is designed around daily relative strength calculations.
A positive value means the asset outperformed the benchmark over that window.
A negative value means the asset lagged the benchmark over that window.