INDICATORS · DMI

DMI in Crypto: Why the Value Changes Before Candle Close

The DMI's +DI and −DI lines react to each new high or low in the current bar. Their crossovers are popular signals and among the easiest to see vanish intrabar.

Short answer

DMI consists of +DI (upward directional movement ÷ true range, smoothed) and −DI (downward). A new intrabar high raises +DM; a new intrabar low raises −DM; both lines move as the bar develops. A bar that spikes up then reverses down can show +DI crossing above −DI mid-bar and back below by the close. Use closed-bar crosses, and because the current bar's extremes can only expand during the bar, expect DI values to settle only at the close.

Which part of DMI uses the live bar

ComponentUses current bar?Effect intrabar
Current high vs previous highYes+DM grows with new highs
Previous low vs current lowYes−DM grows with new lows
True rangeYesExpands with range
+DI / −DIYesBoth move

Wilder's rules use only the larger of the up-move and down-move for each bar. A bar that first extends up and then extends further down can switch which one counts, flipping the DI contribution within the bar.

Check DMI in Crypto against a live market before relying on it.

Try it in ChartsPod

How much it moves inside one bar

DMI during one bar (illustrative)DMI during one bar (illustrative): EARLY: New high: +DI > −DI; MID: Reversal begins; LATE: New low exceeds up-move; CLOSE: −DI > +DI again.EARLYNew high: +DI > −DIMIDReversal beginsLATENew low exceeds up-moveCLOSE−DI > +DI again
Only DMI's closing value is kept in history. Original ChartsPod editorial graphic.
Illustrative intrabar range of DMI vs its closed valueIllustrative intrabar range of DMI vs its closed value: +DI intrabar range 4 ; −DI intrabar range 4 ; ADX intrabar range 1 .ILLUSTRATIVE INTRABAR RANGE OF DMI VS ITS CLOSED VALUE+DI intrabar range4−DI intrabar range4ADX intrabar range1
How far DMI travels inside a bar versus between bars. Original ChartsPod editorial graphic.

Rules

DMI signal hygieneDMI signal hygiene: Signals on closed bars; Bar-close alerts; Backtest uses the same rule; Live value labelled provisional; Settings identical across chart and alerts.DMI SIGNAL HYGIENESignals on closed barsBar-close alertsBacktest uses the same ruleLive value labelled provisionalSettings identical across chart and alerts
Closed values are what history shows. Original ChartsPod editorial graphic.

Related: ADX in Crypto: Why the Value Changes Before Candle Close.

Compare DMI in Crypto across Binance, Bybit, OKX and Hyperliquid markets.

Open markets in ChartsPod

Questions readers ask

Why did my DI cross disappear?

The bar's extremes changed; the larger move switched sides.

Use DMI crosses intrabar?

Better on closed bars.

DMI vs ADX?

DMI gives direction; ADX gives strength.

Sources and methodology

Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.

  1. TradingView Pine Script: Repainting — live vs historical calculation.
  2. ChartsPod indicator reference — indicator calculations.

This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.

CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.