OPEN-SOURCE SCRIPT
Theme Tracker

Theme Tracker is a clean, at-a-glance theme rotation dashboard built to help you quickly identify where money is flowing—and where it’s leaving—across the market’s most important macro, sector, and industry themes.
Instead of bouncing between dozens of charts, Theme Tracker tracks a curated basket of 40 major theme ETFs and displays their relative performance across multiple timeframes, so you can instantly spot leadership, momentum shifts, and early rotation.
What it shows
For each theme ETF, the table displays performance over:
Themes are ranked automatically by the timeframe you choose, allowing you to focus on what matters most in the current market regime—short-term momentum, intermediate rotation, or longer-term trend leadership.
Why it’s useful
Market leaders change. Rotation happens quietly at first, then suddenly.
Theme Tracker helps you:
When a theme is strong across multiple timeframes, that’s often where momentum traders and institutions are concentrating exposure. When it’s weak across timeframes, that’s often where capital is exiting.
How to use it
1) Choose your sort timeframe
Use the Sort setting (1D / 1W / 1M / 3M / YTD) to rank themes based on your trading horizon.
2) Look for alignment
3) Pair with your chartwork
Use the strongest themes as a shortlist for deeper chart analysis, setups, and relative strength confirmation.
Visual design
The table uses clear formatting and heat-style shading to make it easy to read quickly. Green tones highlight strength; red tones highlight weakness—so you can interpret rotation in seconds without overthinking.
If you trade momentum, relative strength, or market structure, Theme Tracker gives you one of the simplest edges available: knowing what’s leading right now. Track the best-performing themes, identify emerging rotation, and stay aligned with the areas of the market where capital is actually moving.
Instead of bouncing between dozens of charts, Theme Tracker tracks a curated basket of 40 major theme ETFs and displays their relative performance across multiple timeframes, so you can instantly spot leadership, momentum shifts, and early rotation.
What it shows
For each theme ETF, the table displays performance over:
- 1 Day
- 1 Week
- 1 Month
- 3 Months
- Year to Date (YTD)
Themes are ranked automatically by the timeframe you choose, allowing you to focus on what matters most in the current market regime—short-term momentum, intermediate rotation, or longer-term trend leadership.
Why it’s useful
Market leaders change. Rotation happens quietly at first, then suddenly.
Theme Tracker helps you:
- Find the strongest themes fast (the “winners” attracting capital)
- Spot weakening themes early (distribution and risk-off rotation)
- Confirm market tone by comparing offensive vs defensive leadership
- Generate trade ideas by focusing on the themes that are already being bid up
- Avoid laggards by seeing what’s consistently underperforming across timeframes
When a theme is strong across multiple timeframes, that’s often where momentum traders and institutions are concentrating exposure. When it’s weak across timeframes, that’s often where capital is exiting.
How to use it
1) Choose your sort timeframe
Use the Sort setting (1D / 1W / 1M / 3M / YTD) to rank themes based on your trading horizon.
2) Look for alignment
- Strong across all columns = sustained leadership
- Strong short-term, weak long-term = potential bounce / rotation attempt
- Weak short-term, strong long-term = possible pullback in a leader
- Weak across the board = consistent capital outflow
3) Pair with your chartwork
Use the strongest themes as a shortlist for deeper chart analysis, setups, and relative strength confirmation.
Visual design
The table uses clear formatting and heat-style shading to make it easy to read quickly. Green tones highlight strength; red tones highlight weakness—so you can interpret rotation in seconds without overthinking.
If you trade momentum, relative strength, or market structure, Theme Tracker gives you one of the simplest edges available: knowing what’s leading right now. Track the best-performing themes, identify emerging rotation, and stay aligned with the areas of the market where capital is actually moving.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Trusted Pine programmer. Send me a message for script development.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Trusted Pine programmer. Send me a message for script development.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。