PROTECTED SOURCE SCRIPT
[DEM] On Balance Volume

[DEM] On Balance Volume is an enhanced version of the classic OBV indicator that transforms volume-price momentum into a histogram format with dynamic color coding to visualize trend strength and direction changes. The indicator calculates traditional On Balance Volume by accumulating volume based on price direction, then applies user-selectable smoothing (SMA, EMA, RMA, WMA, or VWMA) followed by dual RMA filtering with fast (14-period) and slow (80-period) parameters to create a momentum oscillator. The final output displays the difference between fast and slow lines as colored columns, where lime indicates strengthening upward momentum, red shows intensifying downward momentum, fuchsia represents weakening upward momentum, and green signals weakening downward momentum. This approach provides traders with a clear visual representation of volume-based momentum shifts while filtering out noise through multiple layers of smoothing, making it easier to identify significant changes in buying and selling pressure compared to traditional OBV displays.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.