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.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.