OPEN-SOURCE SCRIPT
Stablecoin Total Index V3

**Stablecoin Total Index V4 - Full History + Full Coverage**
This indicator provides the **best of both worlds**: long historical data AND complete stablecoin coverage.
**How it works:**
- **Before May 2025:** Manual sum of 35 major stablecoins (~90% coverage)
- **After May 2025:** Switches to STABLE.C index (100 stablecoins, 100% coverage)
**Why this approach?**
TradingView's official STABLE.C index was only created on May 19, 2025. This indicator gives you **years of historical data** going back to 2017-2018, then seamlessly transitions to the official index for complete accuracy.
**Note:** There is a ~$30B jump at the May 2025 transition point. This is NOT an error - it represents the ~65 smaller stablecoins that are included in STABLE.C but don't have individual CRYPTOCAP symbols for manual tracking.
**Pre-May 2025 Coverage (35 stablecoins):**
- **Tier 1:** USDT, USDC
- **Tier 2:** DAI, USDe, USDS, FDUSD
- **Tier 3:** TUSD, USDP, GUSD, FRAX, PYUSD, LUSD, BUSD
- **Tier 4 (2024-2025):** USD1, RLUSD, GHO, crvUSD, sUSDe, USDY, USDM
- **Tier 5 (Euro):** EURC, EURT, EURS
- **Tier 6 (DeFi):** USDD, MIM, DOLA, OUSD, alUSD, sUSD, cUSD
- **Tier 7:** HUSD, USDX, USTC
- **Gold-Backed:** PAXG, XAUT
**Post-May 2025:** Full STABLE.C (100 stablecoins)
**Features:**
- Green/Red color based on direction
- 20-period SMA
- Reference lines at $100B, $200B, $300B
**Best used on Daily timeframe or higher.**
This indicator provides the **best of both worlds**: long historical data AND complete stablecoin coverage.
**How it works:**
- **Before May 2025:** Manual sum of 35 major stablecoins (~90% coverage)
- **After May 2025:** Switches to STABLE.C index (100 stablecoins, 100% coverage)
**Why this approach?**
TradingView's official STABLE.C index was only created on May 19, 2025. This indicator gives you **years of historical data** going back to 2017-2018, then seamlessly transitions to the official index for complete accuracy.
**Note:** There is a ~$30B jump at the May 2025 transition point. This is NOT an error - it represents the ~65 smaller stablecoins that are included in STABLE.C but don't have individual CRYPTOCAP symbols for manual tracking.
**Pre-May 2025 Coverage (35 stablecoins):**
- **Tier 1:** USDT, USDC
- **Tier 2:** DAI, USDe, USDS, FDUSD
- **Tier 3:** TUSD, USDP, GUSD, FRAX, PYUSD, LUSD, BUSD
- **Tier 4 (2024-2025):** USD1, RLUSD, GHO, crvUSD, sUSDe, USDY, USDM
- **Tier 5 (Euro):** EURC, EURT, EURS
- **Tier 6 (DeFi):** USDD, MIM, DOLA, OUSD, alUSD, sUSD, cUSD
- **Tier 7:** HUSD, USDX, USTC
- **Gold-Backed:** PAXG, XAUT
**Post-May 2025:** Full STABLE.C (100 stablecoins)
**Features:**
- Green/Red color based on direction
- 20-period SMA
- Reference lines at $100B, $200B, $300B
**Best used on Daily timeframe or higher.**
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。