OPEN-SOURCE SCRIPT

Industry Indices Comparison

A dynamic industry sector performance comparison indicator that helps traders and investors track relative strength across different market sectors in real-time.

- Compares up to 5 industry sector ETFs against a benchmark index (default: SPY)
- Displays key metrics including:
* Performance % over selected timeframe
* Relative performance vs benchmark
* Trend direction (▲ up, ▼ down, − neutral)
* Volume in millions (M) of shares traded
- Configurable timeframes: 1D, 1W, 1M, and 3M comparisons
- Color-coded performance indicators (green for outperformance, red for underperformance)
- Customizable table position and text size for optimal chart placement

The indicator helps identify:
1. Sector rotation patterns through relative performance
2. Leading and lagging sectors vs the broader market
3. Volume trends across different sectors

For traders, if you are considering two equally good setups, then choosing the setup belonging to a currently strong sector could be beneficial.

Aviso legal