OPEN-SOURCE SCRIPT

Stablecoin Dominance [LuxAlgo]

17 348
The Stablecoin Dominance tool displays the evolution of the relative supply dominance of major stablecoins such as USDT, USDC, BUSD, DAI, and TUSD.

Users can disable supported stablecoins to only show the supply dominance relative to the ones enabled.

🔶 USAGE

ảnh chụp nhanh

The stablecoin space is subject to constant change due to new arriving stablecoins, regulation, collapse of coins...etc.

Studying the evolution in supply dominance can help see the effect that certain events can have on the stablecoin sphere.

ảnh chụp nhanh

This dominance graph is displayed over the user price chart to easily observe the correlation between stablecoin dominances and market prices. Users can still move the tool to a new pane below if having it on the price chart is not desired.

ảnh chụp nhanh

🔶 DETAILS

Supported stablecoins include:

  • Tether (USDT)
  • USD Coin (USDC)
  • Binance USD (BUSD)
  • Dai (DAI)
  • TrueUSD (TUSD)


Supply dominance of a stablecoin is calculated by dividing the total supply of that stablecoin by the total supply of all enabled stablecoins. That is for N stablecoins:

Pine Script®
sd(stablecoin A) = supply(stablecoin 1) / [supply(stablecoin 1) + supply(stablecoin 2) + supply(stablecoin 3) + ... + supply(stablecoin N)


🔹Display

Users can control the fill style of the displayed areas, with "Gradient" enabled by default. Using "Solid" will use a solid color for each area:

ảnh chụp nhanh

This can improve the performance of the script.

Selecting "None" will not display areas.

🔶 SETTINGS

  • Fill Style: Fill style of the areas between each returned supply dominance. "Gradient" will color the areas using a gradient, while "Solid" will use a solid color.
  • Stablecoins List: List of stablecoins used for the supply dominance calculation, disabling one stablecoin will exclude it from all calculations.

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.