OPEN-SOURCE SCRIPT
Capital Breakdown: MIF Sniper

Capital Breakdown: MIF Sniper is a macro-to-micro decision framework built for traders who want more than a sector heatmap — it tells you who's actually leading inside that sector.
The system runs as a two-desk architecture:
TRADE DESK — pivot-based support/resistance, supertrend + DEMA trend confirmation, and RSI-based reversal signals, with a live signal HUD and built-in alerts.
MACRO DESK — an 11-sector SPDR rotation heatmap ranking all sectors by relative strength vs SPY, plus regime classification (Trend / Transition / Shock), a Dynamic Conviction Index, and active macro driver detection (USD, rates, energy, risk sentiment, growth, industrial).
NAME-LEVEL DRILL-DOWN — the newest layer. Pick any sector from the settings dropdown, and the HUD ranks the top 5 strongest names inside that sector using relative strength versus the sector's own ETF (not just the broad market). A live LEADER/WATCH indicator tells you instantly whether the sector you're drilled into is the one actually leading right now, or one you're simply watching. Every candidate list is fully editable in settings — no coding required.
This turns sector rotation from a top-down observation into a tradeable single-name idea: see which sector is winning, then see which stock inside it is winning hardest.
Built for traders working across US equities, sector ETFs, and single names who want an institutional-style read on where capital is actually flowing — not just where the index is pointing.
The system runs as a two-desk architecture:
TRADE DESK — pivot-based support/resistance, supertrend + DEMA trend confirmation, and RSI-based reversal signals, with a live signal HUD and built-in alerts.
MACRO DESK — an 11-sector SPDR rotation heatmap ranking all sectors by relative strength vs SPY, plus regime classification (Trend / Transition / Shock), a Dynamic Conviction Index, and active macro driver detection (USD, rates, energy, risk sentiment, growth, industrial).
NAME-LEVEL DRILL-DOWN — the newest layer. Pick any sector from the settings dropdown, and the HUD ranks the top 5 strongest names inside that sector using relative strength versus the sector's own ETF (not just the broad market). A live LEADER/WATCH indicator tells you instantly whether the sector you're drilled into is the one actually leading right now, or one you're simply watching. Every candidate list is fully editable in settings — no coding required.
This turns sector rotation from a top-down observation into a tradeable single-name idea: see which sector is winning, then see which stock inside it is winning hardest.
Built for traders working across US equities, sector ETFs, and single names who want an institutional-style read on where capital is actually flowing — not just where the index is pointing.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.