PROTECTED SOURCE SCRIPT

CCT Gold Synthetic Market Cap

77
🌎 Gold Synthetic Market Cap
Overview

The Gold Synthetic Market Cap indicator transforms the Gold Spot price (XAU/USD) into a synthetic market capitalization chart, allowing traders and analysts to visualize gold’s total estimated valuation as a global asset — similar to how cryptocurrencies are evaluated by total market cap.

This tool uses the current XAU/USD price multiplied by the total amount of gold ever mined (~210,000 metric tons), automatically converting the result into trillions of US dollars (USD T).
The outcome is a precise and dynamic representation of gold’s real-time market value — displayed as full OHLC candles in a separate chart panel.

🧠 Core Concept

Gold’s price per ounce doesn’t tell the full story of its global valuation.
By converting it to market capitalization, we can compare it to other asset classes such as:

Bitcoin’s total market cap (CRYPTOCAP:BTC)
Global equities and ETFs
Precious metals or commodities benchmarks

This indicator bridges the gap between price analysis and macro asset valuation, offering a quantitative visualization of gold’s total monetary footprint.

⚙️ Technical Mechanics

Base Symbol: OANDA:XAUUSD (or any gold pair available on your chart)
Conversion Constant:
210,000 tons × 32,150.7 oz/ton = 6.76 × 10⁹ ounces

Calculation:
MarketCap = (XAUUSD × total_ounces) / 1e12
Displayed Units: Trillions of USD (USD T)
Chart Type: Full OHLC candles (plotcandle)
Each candle represents the daily/weekly/monthly change in gold’s total market value.

🎛️ User Controls (Inputs)
Toggle Function
Show Average Line? Displays a 21-period SMA (in trillions) for trend-following analysis.
Show Info Table? Adds a small info table at the bottom-right corner showing the current market cap value.
Show Market Cap Label? Displays a live label above the last candle showing the latest market cap value.
Normalize Scale? Adjusts scaling for better visual fit. Leave enabled to avoid flat or off-screen candles.

📈 How to Use

1 - Add the indicator to your Gold Spot chart (XAUUSD).
2 - When added, TradingView automatically creates a separate panel below the main price chart.
3 - You can hide the original XAUUSD chart to focus solely on the synthetic market cap.
4 - Maximize the indicator panel (double-click or use the arrow icon) to view the synthetic market cap in full-screen mode.

Apply any drawing tools, trendlines, or visual overlays directly on this panel (they won’t affect the base chart).

Optionally, compare it side by side with Bitcoin Market Cap (CRYPTOCAP:BTC) for macro-level correlation studies.

🪙 Practical Applications

  • Compare Gold’s global valuation to Bitcoin, equities, or global M2 supply.

  • Analyze macro rotation trends between risk-off and risk-on assets.

  • Estimate how much capital is stored in physical gold versus digital assets.

  • Integrate into broader multi-asset dashboards for portfolio allocation analysis.


💡 Suggested Workflow

Keep the normalize toggle enabled (default).
Maximize the lower panel for a full synthetic chart view.
Combine this tool with the F!72 SuperTrade or MarketMonitor indicators for contextual macro insight.
Use a weekly or monthly timeframe for clearer long-term structure visualization.

📊 Notes

This indicator uses public XAU/USD pricing and does not require any external API.
Works seamlessly with any TradingView theme (light or dark).
Best viewed with logarithmic scale off, as values are already represented in trillions.
Compatible with all resolutions and broker feeds that support XAUUSD.

🔬 Example Interpretation

If Gold trades around $4,000/oz,
the total market cap is approximately:
4,000 × 32,150.7 × 210,000 ≈ 27 Trillion USD

If Gold rises to $5,000/oz,
the global valuation crosses 33.9 Trillion USD —
a move equivalent to adding the entire market cap of all major tech stocks combined.

🧭 Final Recommendation

This script is designed as an analytical overlay, not a trading signal tool.
It complements technical analysis by providing macro context — showing where gold stands as a global store of value in relation to other capital markets.

For best experience:

Use higher timeframes (1W or 1M)
Maximize the indicator panel
Keep Normalize Scale = ON

⚠️ Disclaimer
This indicator is a visualization and educational tool.
It does not provide financial advice or investment recommendations.
Always perform your own research before making financial decisions.


Author: Central Crypto Traders
Version: 1.0 (October 2025)
Type: Informational Overlay
License: Open for personal and educational use

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。