PC Add on-balance volume to chart
This article was :
published 948 days ago
updated 38 days ago
On MetaTrader4 (MT4) / MetaTrader5 (MT5), you can display the On-balance volume (OBV), a technical indicator developed by Joseph Granville (USA). The calculations are very simple and easy to understand as follows.
- Current close price > previous close price: OBV = previous OBV + current volume
- Current close price < previous close price: OBV = previous OBV - current volume
- Current close price = previous close price: OBV = previous OBV
Since it relies on volume for its calculations, it is best suited for symbols with available volume data, such as stocks. While OBV is less commonly used for forex symbols due to the lack of volume data, you can substitute tick volume, which represents the number of ticks.
Here we will look at how to add OBV to a chart on MT4/MT5.
Switch between MT4/MT5 tabs to check the steps for each.


Step 1
OBV can be set up from the menu or the Navigator.
Add OBV from the menu
Click "Insert" in the menu. Hover the pointer over "Indicators" > "Volumes" and select "On Balance Volume".


Add OBV from the Navigator
On the Navigator, click on the "+" signs next to "Indicators" and "Volumes". Select "On Balance Volume" and drag it onto the chart you wish to apply it to.


Or, right-click on "On Balance Volume" and select "Attach to a Chart".


Step 2
The setting window for OBV will appear. Set the parameters in the "Parameters", "Levels", and "Visualization" tabs and click "OK".
"Parameters" tab


Close: close price
Open: open price
High: high price
Low: low price
Median Price (HL/2): (high price + low price) ÷2
Typical Price (HLC/3): (high price + low price + close price) ÷3
Weighted Close (HLCC/4): (high price + low price + close price×2) ÷4
"Levels" tab
In the OBV sub-window, you can display horizontal lines at the specified levels. If you want to add a horizontal line, click "Add" and enter the number.


"Visualization" tab
In the "Visualization" tab, you can set the timeframes to display OBV. As OBV can only be displayed in a sub-window, it will be displayed in the sub-window even if "Show in the Data Window" is unchecked.


Step 3
OBV will be displayed on the sub-window of chart.


In general, indicators can be grouped into two categories: trend and oscillator indicators. These indicators are designed to focus on price fluctuations. On the other hand, OBV looks at volume in addition to price fluctuations. Like OBV, indicators that focus on volume are classified as volume-based.
Step 1
OBV can be set up from the menu or the Navigator.
Add OBV from the menu
Click "Insert" in the menu. Hover the pointer over "Indicators" > "Volumes" and select "On Balance Volume".


Add OBV from the Navigator
On the Navigator, go to "Indicators" and click on the "+" sign next to "Volumes". Select "On Balance Volume" and drag it onto the chart you wish to apply it to.


Or, right-click on "On Balance Volume" and select "Attach to Chart".


Step 2
The setting window for OBV will appear. Set the parameters in the "Parameters", "Levels", "Scale", and "Visualization" tab and click "OK".
"Parameters" tab


Tick: tick volume (number of ticks provided by brokers)
Real: real volume (traded volume)
"Levels" tab
In the OBV sub-window, you can display horizontal lines at the specified levels. If you want to add a horizontal line, click "Add" and enter the number.


"Scale" tab
Set the scale of the sub-window for OBV.


"Visualization" tab
In the "Visualization" tab, you can set the timeframes to display OBV. As OBV can only be displayed in a sub-window, it will still be displayed in the sub-window even if "Show in Data Window" is unchecked.


Step 3
OBV will be displayed on the sub-window of chart.


In general, indicators can be grouped into two categories: trend and oscillator indicators. These indicators are designed to focus on price fluctuations. On the other hand, OBV looks at volume in addition to price fluctuations. Like OBV, indicators that focus on volume are classified as volume-based.
Was this article helpful?
0 out of 0 people found this article helpful.
Thank you for your feedback.