OPEN-SOURCE SCRIPT
Traded Value ($ M)

This indicator calculates and displays the total traded value for each bar in US Dollars (Millions), giving you a clearer picture of real money flow compared to raw volume alone.
How it works:
It multiplies the closing price by the bar's volume, then divides by 1,000,000 to express the result in Millions of USD.
Traded Value ($M) = (Close Price × Volume) / 1,000,000
Color coding:
🟢 Green bar — Price closed higher than it opened (bullish bar)
🔴 Red bar — Price closed lower than it opened (bearish bar)
Why use this?
Raw volume only tells you how many shares/contracts were traded. Traded Value tells you how much money actually changed hands — making it especially useful for comparing activity across stocks with very different price levels.
Best used on: Stocks, ETFs, and instruments traded in USD.
How it works:
It multiplies the closing price by the bar's volume, then divides by 1,000,000 to express the result in Millions of USD.
Traded Value ($M) = (Close Price × Volume) / 1,000,000
Color coding:
🟢 Green bar — Price closed higher than it opened (bullish bar)
🔴 Red bar — Price closed lower than it opened (bearish bar)
Why use this?
Raw volume only tells you how many shares/contracts were traded. Traded Value tells you how much money actually changed hands — making it especially useful for comparing activity across stocks with very different price levels.
Best used on: Stocks, ETFs, and instruments traded in USD.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.