OPEN-SOURCE SCRIPT
VolumeUSD

VolumeUSD — quote-currency volume with regime context and adaptive outliers
This indicator plots volume expressed in quote currency as volume × close. On symbols quoted in USD (many crypto and FX pairs), that approximates notional / dollar volume per bar, which is easier to compare across instruments than raw share or contract count alone.
What’s on the chart
How to use it
Main settings
License: Open source under Mozilla Public License 2.0 (MPL-2.0).
Disclaimer: For analysis only. Past volume patterns do not predict future price or liquidity.
This indicator plots volume expressed in quote currency as volume × close. On symbols quoted in USD (many crypto and FX pairs), that approximates notional / dollar volume per bar, which is easier to compare across instruments than raw share or contract count alone.
What’s on the chart
- Histogram: USD volume for each bar (black).
- Two EMAs of USD volume (defaults 60 and 240): the space between them is filled blue when the faster EMA is above the slower one, and pink otherwise, so you can see relative strength / regime of volume at a glance.
- Outliers: Current USD volume is compared to a smoothed baseline computed with a custom adaptive moving average (NAMA) using a φ-related smoothing constant (α = 1.618 / 100). When USD volume is at or above baseline × multiplier, the bar is flagged as an outlier: thicker black bar, optional semi-transparent highlight behind the bar, and a grey dotted line showing the outlier threshold for that bar.
How to use it
- Watch histogram height for participation in dollar terms.
- Use the EMA fill as a quick read of whether shorter-term USD volume is elevated versus a longer horizon.
- Use outlier bars to spot unusual participation versus recent behavior; tune MA length, multiplier, and highlight to match your symbol and timeframe.
Main settings
- EMA 1 / EMA 2 lengths (default 60 / 240).
- MA length for the outlier baseline (default 60).
- Outlier threshold multiplier (default 5.0).
- Toggle and color for the outlier highlight.
License: Open source under Mozilla Public License 2.0 (MPL-2.0).
Disclaimer: For analysis only. Past volume patterns do not predict future price or liquidity.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。