Z3Gamma/Learn/DMI Compression
The Tools
⚠️

DMI Compression

+DI and −DI squeeze close together, still moving. Energy is storing. When they cross — direction is declared.

What DMI measures

The Directional Movement Index splits price movement into two components. +DI measures upward directional pressure — how much the session is making progress higher relative to its range. −DI measures the same in the other direction. When +DI is significantly above −DI, buyers are in control. When −DI dominates, sellers are.

Most of the time, one side leads the other with a meaningful gap between them. But there are stretches when neither side has declared dominance — the two lines are close together, both present, neither winning. That is the compression state.

Compression — the coil

Compression is not simply +DI and −DI being close. The condition requires two things simultaneously: the spread between them is narrow — within 8 points — and the spread is still moving, with a velocity above the minimum threshold. The lines are squeezed, but they are active. Not dead. Not flat. Coiling.

That combination — tight spread plus motion — is what distinguishes a genuine compression from a quiet, directionless market. In a quiet market the spread can sit narrow for a long time without tension. In a compression, the lines are working against each other inside a small range. Energy is storing. Something is about to give.

The condition
|+DI − −DI| < 8 · and · spread still moving
Both conditions must be true at the same bar. Narrow spread alone is not compression. Motion alone without the squeeze is not compression. The coil requires both — the constraint and the pressure building within it.

The cross — direction declared

The compression resolves when the spread flips sign. +DI, which was above −DI, crosses below it — bearish, sellers taking control. Or −DI, which was leading, crosses below +DI — bullish, buyers asserting dominance. That crossing point is the DI Cross.

Bullish Cross
+DI crosses above −DI. Buyers declared. Upward directional pressure is now dominant. Green vertical tick on the price line.
Bearish Cross
−DI crosses above +DI. Sellers declared. Downward directional pressure is now dominant. Red vertical tick on the price line.

A cross that emerges from a compression zone carries more weight than one that appears in open air. When the lines were squeezed — neither side able to assert dominance — and then one breaks away decisively, it represents a genuine shift. The compression was the indecision. The cross is the resolution.

On the chart

Compression shows up directly on the price line — not a separate panel, not an indicator below. The price line itself starts pulsing amber. The glow breathes in and out every 1.2 seconds for as long as the condition is active. When you see the price line flashing, the DI lines are coiled. The session has not declared direction yet.

Under the hood it is two layers: a thick blurred outer ring that creates the halo, and a thin sharp amber core that traces the exact path. Both animate together. The pulse stops the moment the compression condition breaks — either because the spread widened past the threshold, or because the lines crossed.

⚠️
Pulsing amber
The price line breathes amber — fading in and out — for every bar the compression condition is live. When it stops flashing, compression is resolved.
|
Vertical tick
The cross bar. Green for bullish, red for bearish. A vertical line through the price marking the exact bar direction changed.

Compression in context

DMI compression is most useful when read alongside other structural context. A compression zone occurring while Midas is settled — the session extreme already established — means the directional indecision is happening on top of a solid volume-weighted anchor. When the cross fires out of that combination, both the structural base and the directional indicator are aligned.

The Queen provides the side context — GREEN or RED kingdom tells you which direction is structurally favored. A bullish DI cross in GREEN kingdom is confirmation stacking. A bullish DI cross in RED kingdom is a warning — the cross is fighting the structural baseline.

Where the compression occurs relative to the Initial Balance also matters. Compression inside the IB is indecision within the opening range — the session is coiling without having made a directional statement yet. Compression above the IB High or below the IB Low means the session has already broken out, and the DI lines are catching up to what price already did.

A high RVOL bar at the cross adds further confirmation — the directional shift happened with elevated participation, not just a quiet slip across the line.

The Tools Series
See DMI compression and crosses marked live on every session — the amber glow and the vertical tick that show where direction stores and where it declares.