OPEN-SOURCE SCRIPT
Crypto USDT Volume

Script Title: USDT Volume
This TradingView indicator calculates a volume metric weighted by price, referred to as "Money." It works by first computing the typical price for each bar as the average of the open, high, low, and close prices. Multiplying this typical price by the bar's volume yields the Money value, which serves as a proxy for the dollar (or USDT) flow during that period.
To improve readability, the script dynamically adjusts the units based on recent data. It examines the highest Money value over the past 100 bars and applies a scaling factor:
Values above 1e9 are scaled to billions (B),
Above 1e6 to millions (M),
Above 1e3 to thousands (K),
Otherwise, no scaling is applied.
The indicator plots these scaled Money values as a column chart. It uses TradingView's default colors—green for bullish bars (where the open is less than the close) and red for bearish bars. Additionally, a label is updated on the last bar to display the current unit used for scaling.
Overall, this script provides a visually intuitive way to track and compare the volume-weighted money flow, making it easier to analyze market activity.
This TradingView indicator calculates a volume metric weighted by price, referred to as "Money." It works by first computing the typical price for each bar as the average of the open, high, low, and close prices. Multiplying this typical price by the bar's volume yields the Money value, which serves as a proxy for the dollar (or USDT) flow during that period.
To improve readability, the script dynamically adjusts the units based on recent data. It examines the highest Money value over the past 100 bars and applies a scaling factor:
Values above 1e9 are scaled to billions (B),
Above 1e6 to millions (M),
Above 1e3 to thousands (K),
Otherwise, no scaling is applied.
The indicator plots these scaled Money values as a column chart. It uses TradingView's default colors—green for bullish bars (where the open is less than the close) and red for bearish bars. Additionally, a label is updated on the last bar to display the current unit used for scaling.
Overall, this script provides a visually intuitive way to track and compare the volume-weighted money flow, making it easier to analyze market activity.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。