k104

Modified On Balance Volume

Modified On Balance Volume (mOBV) Indicator

The "Modified On Balance Volume" (mOBV) indicator is designed to provide insights into the cumulative buying and selling pressure in the market, with modifications for close, high, and low prices. It incorporates On Balance Volume (OBV) calculations for each of these price types and further refines the analysis by applying Simple Moving Averages (SMA).

Key Features:

Calculation of OBV for Close, High, and Low Prices:
Traditional OBV values are computed for close, high, and low prices, reflecting the cumulative volume based on the sign of price changes.
SMA Smoothing:
Simple Moving Averages (SMA) are applied to the calculated OBV values, introducing a smoothing effect to highlight trends in the buying and selling pressure.
Relative Values for High and Low OBV:
The script transforms the OBV values for high and low prices into relative values compared to the SMA of the OBV for close prices.
User-Defined SMA Length:
Users can customize the length of the SMA through a parameter, allowing flexibility in adapting the indicator to different market conditions.
Error Handling:
The script includes a mechanism to detect if no volume data is provided by the data vendor, alerting users to potential issues with the dataset.
Visual Representation:
The calculated OBV values for close, high, and low prices, as well as the SMA of the OBV for close prices, are visually represented on the chart with customizable colors and transparency settings.
Usage Tips:

Rising values indicate increasing buying pressure, while falling values suggest increasing selling pressure.
Crosses between the OBV lines and the SMA line may be used to identify potential trend changes.
Note:

This script is intended for informational purposes and should be used in conjunction with other technical analysis tools for comprehensive market analysis.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?