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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。