TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
Futures Indicators

How to Use On-Balance Volume in Futures Read an OBV Divergence on MES

Follow 40 fictional five-minute MES candles. The chart and worked table use the same contract counts and completed candles.

Quick Answer

On-balance volume adds the full volume of an up-close candle, subtracts the full volume of a down-close candle, and carries the prior total forward on an equal close. Compare OBV at two known price highs or lows. Then use a separate price rule to decide whether the setup has confirmed.

Start 7-Day TrialFollow the four marked candles

An MES higher high with lower on-balance volume

Synthetic MES 5-minute candles. Times are bar closes in ET.

The blue line is OBV in contracts. The dashed price line marks 6,003.50, a closing-price reference that was available by 11:30 ET. The numbers match the table below.

Calculate OBV from the close and volume

Compare each candle’s close with the previous candle’s close. For a higher close, add that candle’s volume to the previous total. For a lower close, subtract it. An equal close contributes zero even when a lot of contracts traded. This example starts the first candle at zero.

At 11:15 ET, MES closes lower and 1,900 contracts subtract from the prior OBV of 12,440, leaving 10,540. At 11:25, 2,300 contracts trade but the close equals the preceding close, so OBV stays at 8,890.

Separate the OBV divergence from the price break

The first peak closes at 6,006.00 at 11:10 ET with OBV at 12,440. After the pullback, 11:45 closes higher at 6,006.75, while OBV reaches only 11,650. By the 11:50 lower close, both peaks can be compared under a one-bar swing rule. The lower OBV at the higher price peak is a bearish divergence.

The pullback had two closes at 6,003.50. The 11:30 bounce makes that level available for the exercise. The noon candle closes exactly at 6,003.50. At 12:05, MES closes below it at 6,003.25, the first qualifying candle under a strict close-below rule. The rule is a replay exercise and the divergence alone gives no timing or outcome guarantee.

Price and on-balance volume at completed MES candles
Close ETMESVolumeChangeOBV
1 · 11:106,006.001,510+1,51012,440
11:156,004.501,900-1,90010,540
2 · 11:256,003.502,30008,890
3 · 11:456,006.75630+63011,650
12:006,003.501,270-1,2707,810
4 · 12:056,003.25980-9806,830

Set up OBV in TradingView and NinjaTrader

In TradingView, open Indicators and add the built-in On Balance Volume study. Use standard five-minute candles on a dated MES contract. In NinjaTrader Desktop, open the chart’s Indicators window and add OBV (On-Balance Volume). Set Calculate to On bar close if you want to follow the completed-candle exercise.

Match the contract month, interval and trading hours before comparing lines. An electronic-hours chart includes overnight bars that a regular-hours chart can omit. Each chart can also start the running sum at a different historical bar. Check two adjacent completed closes, their volume and the change in OBV first. A constant offset with matching changes can come from a different starting total. If the changes disagree, check the candle data and volume feed.

Decide when to use OBV or cumulative delta

Use OBV to compare how much volume accompanied net up and down closes. OBV assigns a candle’s entire volume using its close direction. Bid/ask cumulative delta instead sums the difference between volume traded at the ask and at the bid. An up-close candle can add to OBV while still showing negative bid/ask delta.

In replay, record the OBV reading at each confirmed swing close and mark the price level needed for confirmation. Include divergences where price never breaks the level. Compare those observations with the same price rule on its own over the same replay window.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView On Balance Volume formulaVerify how higher, lower and equal closes affect the running total.NinjaTrader On Balance Volume referenceCheck the platform’s OBV study.
Related Guides

Keep Building the Rule System

Compare Chaikin Money Flow with OBV

Follow an equal close and a gap down on the same MES sequence.

Compare NinjaTrader cumulative delta

Read bid/ask or up/down tick delta and check what resets the running total.

Practice in TradingView Bar Replay

Mark the price level before revealing the next candle.

FAQ

Common Questions

What happens to OBV when the candle closes unchanged?

The total stays the same even when volume is high. In the example, the 11:25 ET candle trades 2,300 contracts and contributes zero.

Why is OBV different on two five-minute futures charts?

Different trading hours or loaded history can change the running total. First match the specific contract and session, then compare the closes, volume, and OBV change across the same two completed candles.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.