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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.