OPEN-SOURCE SCRIPT
Auto Crypto Market Cap

Auto Crypto Market Cap is a simple utility indicator that automatically displays the current market capitalization of the cryptocurrency shown on your chart.
The script detects the base asset from the current symbol, for example:
AAVEUSDT → AAVE
SOLUSDT → SOL
ETHUSDT → ETH
It then requests the matching TradingView CRYPTOCAP symbol, such as CRYPTOCAP:AAVE or CRYPTOCAP:SOL, and displays the result in a clean table on the chart.
Features:
• Automatically detects the crypto ticker from the current chart
• Displays market cap in a readable format: K, M, B, or T
• Optional manual ticker override for special symbols
• Useful for quickly checking whether a coin is small-cap, mid-cap, or large-cap
• Works directly on price charts without needing to open a separate CRYPTOCAP chart
Examples:
AAVEUSDT → shows AAVE market cap
BTCUSDT → shows BTC market cap
ETHUSDT → shows ETH market cap
LINKUSDT → shows LINK market cap
For symbols like 1000PEPEUSDT, WETHUSDT, or WBTCUSDT, you can use the manual override input to set the correct ticker, for example PEPE, ETH, or BTC.
Important:
This indicator depends on TradingView’s CRYPTOCAP data. If TradingView does not provide a CRYPTOCAP symbol for a specific asset, the market cap may show as unavailable.
The script detects the base asset from the current symbol, for example:
AAVEUSDT → AAVE
SOLUSDT → SOL
ETHUSDT → ETH
It then requests the matching TradingView CRYPTOCAP symbol, such as CRYPTOCAP:AAVE or CRYPTOCAP:SOL, and displays the result in a clean table on the chart.
Features:
• Automatically detects the crypto ticker from the current chart
• Displays market cap in a readable format: K, M, B, or T
• Optional manual ticker override for special symbols
• Useful for quickly checking whether a coin is small-cap, mid-cap, or large-cap
• Works directly on price charts without needing to open a separate CRYPTOCAP chart
Examples:
AAVEUSDT → shows AAVE market cap
BTCUSDT → shows BTC market cap
ETHUSDT → shows ETH market cap
LINKUSDT → shows LINK market cap
For symbols like 1000PEPEUSDT, WETHUSDT, or WBTCUSDT, you can use the manual override input to set the correct ticker, for example PEPE, ETH, or BTC.
Important:
This indicator depends on TradingView’s CRYPTOCAP data. If TradingView does not provide a CRYPTOCAP symbol for a specific asset, the market cap may show as unavailable.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.