Ranking Industry Stocks by Year-to-Date, Relative, or Period Return
Summary
This indicator compares stocks within the chart symbol's industry and displays the strongest names using one of three measures: year-to-date change, relative strength against a selected benchmark, or return over a configurable lookback. For relative strength, it divides each stock's price by the benchmark price and rescales that ratio across its recent high-low range. The other measures use year-to-date price change or rate of change. Results are sorted in descending order and shown as colored bars or a compact list.
The script requires a daily or weekly chart and relies on a built-in list of industry groups and constituent symbols. The output is a comparative screen, not a standalone trade signal, and its coverage depends on the embedded membership list and available symbol data. No historical performance, benchmark validation, or evidence that the rankings predict future returns is provided. The relative-strength scale is normalized to the selected lookback, so it expresses position within that range rather than an absolute forecast.
Key ideas
- The indicator ranks a chart symbol's industry constituents by one of three price-performance measures.
- Relative strength compares each stock's price ratio to a selected index and rescales it over a lookback range.
- Year-to-date and lookback return options provide alternative ways to compare industry members.
- Rankings appear as a colored bar display or a compact list, with a configurable number of stocks shown.
- The tool is limited by its embedded industry membership and provides no evidence that rankings forecast returns.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.