OPEN-SOURCE SCRIPT

Crypto/Stable Mcap Ratio Normalized

已更新
Create a normalized ratio of total crypto market cap to stablecoin supply (USDT + USDC + DAI). Idea is to create a reference point for the total market cap's position, relative to total "dollars" in the crypto ecosystem. It's an imperfect metric, but potentially helpful. V0.1.

This script provides four different normalization methods:

Z-Score Normalization:
  • Shows how many standard deviations the ratio is from its mean
  • Good for identifying extreme values
  • Mean-reverting properties



Min-Max Normalization:
  • Scales values between 0 and 1
  • Good for relative position within recent range
  • More sensitive to recent changes



Percent of All-Time Range:
  • Shows where current ratio is relative to all-time highs/lows
  • Good for historical context
  • Less sensitive to recent changes



Bollinger Band Position:
  • Similar to z-score but with adjustable sensitivity
  • Good for trading signals
  • Can be tuned via standard deviation multiplier




Features:
  • Adjustable lookback period
  • Reference bands for overbought/oversold levels
  • Built-in alerts for extreme values
  • Color-coded plots for easy visualization
版本注释
Create a normalized ratio of total crypto market cap to stablecoin supply (USDT + USDC + DAI). Idea is to create a reference point for the total market cap's position, relative to total "dollars" in the crypto ecosystem. It's an imperfect metric, but potentially helpful. V0.1.

This script provides four different normalization methods:

Z-Score Normalization:
  • Shows how many standard deviations the ratio is from its mean
  • Good for identifying extreme values
  • Mean-reverting properties


Min-Max Normalization:
  • Scales values between 0 and 1
  • Good for relative position within recent range
  • More sensitive to recent changes


Percent of All-Time Range:
  • Shows where current ratio is relative to all-time highs/lows
  • Good for historical context
  • Less sensitive to recent changes


Bollinger Band Position:
  • Similar to z-score but with adjustable sensitivity
  • Good for trading signals
  • Can be tuned via standard deviation multiplier


Features:
  • Adjustable lookback period
  • Reference bands for overbought/oversold levels
  • Built-in alerts for extreme values
  • Color-coded plots for easy visualization

Bands and Channels

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明