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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.