OPEN-SOURCE SCRIPT
Crypto ETFs AUM

📘 Description: BTC ETFs AUM Tracker
This indicator tracks the Assets Under Management (AUM) and daily inflows/outflows of the main U.S.-listed Bitcoin ETFs, allowing you to visualize institutional capital movement into Bitcoin products over time. It helps traders correlate institutional capital movement with Bitcoin price behavior.
🧩 Overview
The script adds up the daily AUM changes from selected Bitcoin ETFs to estimate the total net inflow/outflow of capital into spot BTC funds. It also accumulates those flows over time to display the total aggregated AUM balance, giving you a clearer sense of market direction and institutional sentiment. Two display modes are available: Balance view: plots the cumulative sum of net inflows (total ETF AUM). Inflows view: shows daily inflows (green) and outflows (red) as histogram columns, together with a smoothed moving average line.
⚙️ Inputs
Explained Base Settings Base Multiplier (base_multi) – Scaling factor applied to all AUM values. Leave at 1 for USD units, or adjust to display values in millions (1e6) or billions (1e9). Smoothing (c_smoothing) – Period length for the simple moving average used to calculate the smoothed mean inflow/outflow line. Show Balance (showBalance) – When enabled, displays the total cumulative AUM balance (sum of all net inflows over time). Show Inflows (showInflows) – When enabled, displays the daily inflows/outflows as colored columns. ETF Selection You can toggle which ETFs are included in the calculation:
Each switch determines whether the ETF’s AUM and daily flow data are included in the total calculation.
📊 Displayed Values Green Columns → Positive daily net inflows (AUM increased). Red Columns → Negative daily net outflows (AUM decreased). Orange Line → Smoothed moving average of net flows, used to identify persistent inflow/outflow trends. Blue Line (if enabled) → Total cumulative AUM balance (sum of all historical flows).
💡 Usage Notes Works best on daily timeframe, since ETF data is typically updated once per trading day. Not all ETFs have identical data history; missing data points are automatically skipped. The indicator doesn’t represent official fund NAV or guarantee data accuracy — it visualizes TradingView’s public financial feed. You can combine this tool with price action or on-chain metrics to analyze institutional Bitcoin flows.
Note: Some ETF data may not be available to all users depending on their TradingView data subscription or market access. Missing values are automatically skipped.
🧠 Disclaimer This script is for educational and analytical purposes only. It is not financial advice, and no investment decisions should be based solely on this indicator. Data accuracy depends on TradingView’s financial data sources and exchange reporting frequency.
This indicator tracks the Assets Under Management (AUM) and daily inflows/outflows of the main U.S.-listed Bitcoin ETFs, allowing you to visualize institutional capital movement into Bitcoin products over time. It helps traders correlate institutional capital movement with Bitcoin price behavior.
🧩 Overview
The script adds up the daily AUM changes from selected Bitcoin ETFs to estimate the total net inflow/outflow of capital into spot BTC funds. It also accumulates those flows over time to display the total aggregated AUM balance, giving you a clearer sense of market direction and institutional sentiment. Two display modes are available: Balance view: plots the cumulative sum of net inflows (total ETF AUM). Inflows view: shows daily inflows (green) and outflows (red) as histogram columns, together with a smoothed moving average line.
⚙️ Inputs
Explained Base Settings Base Multiplier (base_multi) – Scaling factor applied to all AUM values. Leave at 1 for USD units, or adjust to display values in millions (1e6) or billions (1e9). Smoothing (c_smoothing) – Period length for the simple moving average used to calculate the smoothed mean inflow/outflow line. Show Balance (showBalance) – When enabled, displays the total cumulative AUM balance (sum of all net inflows over time). Show Inflows (showInflows) – When enabled, displays the daily inflows/outflows as colored columns. ETF Selection You can toggle which ETFs are included in the calculation:
- BIT (BlackRock)
- GBTC (Grayscale)
- FBTC (Fidelity)
- ARKB (ARK/21Shares)
- BITB (Bitwise)
- EZBC (Franklin Templeton)
- BTCW (WisdomTree)
- BTCO (Invesco Galaxy)
- BRRR (Valkyrie)
- HODL (VanEck)
Each switch determines whether the ETF’s AUM and daily flow data are included in the total calculation.
📊 Displayed Values Green Columns → Positive daily net inflows (AUM increased). Red Columns → Negative daily net outflows (AUM decreased). Orange Line → Smoothed moving average of net flows, used to identify persistent inflow/outflow trends. Blue Line (if enabled) → Total cumulative AUM balance (sum of all historical flows).
💡 Usage Notes Works best on daily timeframe, since ETF data is typically updated once per trading day. Not all ETFs have identical data history; missing data points are automatically skipped. The indicator doesn’t represent official fund NAV or guarantee data accuracy — it visualizes TradingView’s public financial feed. You can combine this tool with price action or on-chain metrics to analyze institutional Bitcoin flows.
Note: Some ETF data may not be available to all users depending on their TradingView data subscription or market access. Missing values are automatically skipped.
🧠 Disclaimer This script is for educational and analytical purposes only. It is not financial advice, and no investment decisions should be based solely on this indicator. Data accuracy depends on TradingView’s financial data sources and exchange reporting frequency.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。