The Volume Indicator provides a visual representation of trading volume, expressed in U.S. dollars, directly on your chart. It multiplies each candle's closing price by its volume to compute the volume in dollar terms, offering a clearer perspective on market activity relative to price movements.

Features:

Volume Calculation: The indicator calculates the volume in dollar terms by multiplying the closing price by the trading volume of each bar.
Color Coding: Bars are colored to highlight significant trading activity. Standard bars are displayed in blue, whereas bars representing the highest trading volume over the latest 10-bar period are colored red.
Dynamic Labels: Red bars, indicating peak volume within the specified period, feature dynamically positioned labels that display the dollar amount, formatted to three significant figures. Labels are appended with "M" for millions or "B" for billions as appropriate, followed by a dollar sign to denote currency.
Automatic Label Adjustment: To avoid label overlap and maintain chart clarity, labels adjust their vertical positioning automatically based on proximity to other labels.
Usage:

This indicator is particularly useful for traders who wish to assess the strength of price movements in conjunction with volume. By quantifying volume in dollar terms, it provides a more standardized measure of trading intensity, which can be beneficial for making informed trading decisions in both high and low volatility environments.

สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?