Capital Rotation Tracker

---
## Short Description (for indicator subtitle)
Track capital flows across TradFi & Crypto asset classes with normalized multi-line charts and comprehensive rotation dashboard.
---
## Full Description
### 📊 Capital Rotation Tracker - Where Is The Money Flowing?
The Capital Rotation Tracker (CRT) is a comprehensive tool designed to visualize capital flows across all major asset classes in a single view. Instead of switching between dozens of charts, see exactly where money is rotating - from traditional finance to crypto and back.
---
### 🎯 What This Indicator Does
**The Core Question:** Where is capital flowing right now?
Markets don't move in isolation. When money exits bonds, it flows somewhere else. When crypto dumps, stablecoins rise. When risk-off sentiment hits, cash and gold attract capital. This indicator makes these flows visible at a glance.
**Two Complementary Views:**
1. **Normalized Chart** - 12 asset class lines starting at zero, showing relative performance over time
2. **Dashboard Table** - Snapshot of 1W, 4W, and 52W performance with flow status indicators
---
### 📈 Chart Features
**TradFi Lines (8):**
- 💵 CASH (DXY)
- 🏦 BONDS (TLT+SHY average)
- 📊 US EQUITIES (S&P 500)
- 🥇 PRECIOUS METALS (Gold+Silver average)
- 🛢️ ENERGY (Oil)
- 🏭 INDUSTRIAL (Copper)
- 🌾 AGRICULTURE (Wheat)
- 🏠 REAL ESTATE (VNQ)
**Crypto Lines (4):**
- 📊 TOTALES.D - Total crypto market ex-stablecoins dominance
- 💵 STABLE.D - Combined stablecoin dominance (USDT + USDC)
- ₿ BTC.D - Bitcoin dominance
- 🎰 OTHERS.D - Small cap/meme coin dominance
**Why Normalized?**
All lines start at zero (beginning of chart), showing percentage change over time. This makes completely different assets directly comparable - you can see if Gold is outperforming Crypto or if Bonds are catching a bid relative to Equities.
**End-of-Line Labels:**
Each line is labeled at the rightmost bar for easy identification without needing a legend.
---
### 📋 Dashboard Features
**TradFi Panel includes:**
- Cash (USD/DXY)
- Bonds
- Regional Equities: USA, Tech, Small Caps, Europe, UK, Japan, China, India, Canada
- Commodities: Precious Metals, Energy, Industrial, Agriculture
- Real Estate
**Crypto Cascade Panel includes:**
- TOTALES.D (Total ex-Stablecoins)
- STABLE.D (USDT + USDC combined)
- BTC.D (Bitcoin Dominance)
- ETH.D (Ethereum Dominance)
- OTHERS.D (Small Caps ex-Top 10)
- TOTALDEFI.D (DeFi Dominance)
**Each row displays:**
- Current value or dominance %
- 1-Week change
- 4-Week change (primary signal)
- 52-Week change (trend context)
- Flow Status (🟢 INFLOW/STRONG, 🟡 NEUTRAL, 🔴 OUTFLOW/DUMP)
---
### 🔄 Crypto Cycle Phase Detection
The indicator automatically detects the current crypto market cycle phase:
| Phase | Condition | Signal |
|-------|-----------|--------|
| ₿ PHASE 1: BTC SEASON | BTC.D rising, alts underperforming | Accumulate BTC |
| 🔷 PHASE 2: ALT SEASON | BTC.D falling, TOTALES.D rising | Alts outperforming |
| 🎰 PHASE 4: EUPHORIA | OTHERS.D surging | Late cycle warning! |
| ⚠️ PHASE 5: EXIT | STABLE.D surging + BTC dumping | Risk off! |
Background color changes based on detected phase for instant visual feedback.
---
### 🏆 Rotation Summary
The footer shows:
- **Leader**: Best performing asset class (4W)
- **Laggard**: Worst performing asset class (4W)
- **Rotation Arrow**: Visual flow direction (money moving from laggard → leader)
---
### ⚙️ Settings
**General:**
- Show/Hide TradFi Panel
- Show/Hide Crypto Panel
- Dashboard Position (Top Right/Left, Bottom Right/Left)
**Chart:**
- Show/Hide TradFi Lines
- Show/Hide Crypto Lines
**Thresholds:**
- Strong Flow Threshold (default 5%)
- Weak Flow Threshold (default 2%)
**Symbols:**
All symbols are customizable via inputs if you prefer different tickers.
---
### 🔔 Alerts
Built-in alert conditions for:
- Cycle phase changes (BTC Season, Alt Season, Euphoria, Exit)
- Stablecoin deployment (STABLE.D dropping = cash entering market)
- Stablecoin accumulation (STABLE.D rising = risk-off)
---
### 📖 How To Use
**For Macro Rotation:**
1. Look at the chart lines - which asset classes are trending up from zero?
2. Check the dashboard for confirmation - green = inflow, red = outflow
3. Follow the rotation: money leaving laggards typically flows to leaders
**For Crypto Timing:**
1. Monitor the Cycle Phase indicator
2. Watch STABLE.D - dropping = bullish (cash deploying), rising = bearish (cash parking)
3. Track BTC.D vs OTHERS.D - when OTHERS.D surges, you're likely late cycle
**Risk Management:**
- Multiple red rows in dashboard = broad risk-off environment
- STABLE.D + CASH both rising = flight to safety
- Euphoria phase (OTHERS.D pumping) = consider taking profits
---
### ⏱️ Timeframe
This indicator uses **weekly data** regardless of your chart timeframe. This ensures consistent readings whether you're on a 1H or 1D chart. The fixed lookback periods are:
- 1W (1 week)
- 4W (1 month)
- 52W (1 year)
---
### 💡 Tips
1. **Don't chase the leader** - By the time an asset shows "STRONG INFLOW", the easy gains may be over
2. **Watch for divergences** - If TOTALES.D rises but BTC.D also rises, it's still BTC season
3. **Respect the exit signals** - STABLE.D surging with falling prices is a clear warning
4. **Use with price action** - This shows flows, not entry/exit signals
---
### ⚠️ Disclaimer
This indicator is for informational purposes only. It shows historical capital flows and should not be considered financial advice. Always do your own research and manage risk appropriately.
---
### 🔄 Version History
**v1.6**
- Added normalized multi-line chart with 12 asset classes
- End-of-line labels for easy identification
- Toggle for TradFi/Crypto lines
- Updated Crypto Cascade with TOTALES.D, STABLE.D, OTHERS.D
- Improved cycle phase detection
---
### Credits
Built with data from TradingView's extensive symbol library including CRYPTOCAP dominance charts.
---
## Tags (for TradingView)
rotation, capital-flows, macro, crypto, dominance, btc-dominance, altseason, tradfi, asset-allocation, risk-on-risk-off, market-cycle, stablecoins, portfolio, cross-asset
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ Aethem โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ Aethem โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา