Directional Movement

DM
Indicator

TrendSeparate panelFree on ChartLabs

Directional Movement draws ADX, +DI and -DI. The DI pair shows which side of the bar-to-bar move is larger. ADX shows how steady that gap has been.

Created by J. Welles Wilder Jr., New Concepts in Technical Trading Systems (1978). Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIDMchartlabs.co/charts
Example market, 1h1+DI crossed -DI68,86565,84662,82759,80964,803.7
Atlas reads it

+DI leads -DI. ADX is 50.9539.

ADX 50.9539 · +DI 25.3015 · -DI 6.2895

Atlas reads it

+DI leads -DI. ADX is 50.9539.

ADX 50.9539 · +DI 25.3015 · -DI 6.2895

Illustration on simulated data.

Directional MovementWhat is the DM indicator?

The picker name is Directional Movement. The three lines match the Directional Movement Index record for record. ADX smoothing is 14 and DI length is 14. Colours are ADX #F50057, +DI #2962FF and -DI #FF6D00, 1 px, 4 decimals.

A stair of bars, each high, low and close one point above the bar before, starting at high 10, low 9 and close 10, is an up move of 1 and a down move of 0 on every bar after the first. On record 14, +DI is 100.0000 and -DI is 0.0000. ADX is still empty. On record 27, ADX is 100.0000 as well.

This is the same Wilder core as the DMI page, under the shorter picker name. It is not a merge. Both pages stay. The separate ADX indicator draws only the strength line, in #F23645.

Record 14 and 27

+DI and -DI start on record 14. ADX starts on record 27, after a second Wilder average.

Same maths as DMI

The lines match. The worked stair here is a different example from the single bar on the DMI page.

DM signalsFive patterns to know.

1Bullish lean

+DI at 100

On the stair, every bar's up move is the one that counts, so +DI sits at 100.0000 from record 14.

2Bearish lean

-DI leads

The mirror stair, each bar one point lower, would put -DI on top. This page's example does not.

3Inconclusive

ADX joins at 100

On record 27 the strength line catches up. ADX still has no direction of its own.

4Inconclusive

A mixed bar

When the up move and the down move are closer, +DI and -DI leave the 100 and 0 of a pure stair.

5Inconclusive

Before record 14

Both DI lines are empty. ADX is empty until record 27.

DM formulaHow it is calculated.

+DI=100×+DMTR
STEP 1

Keep the larger move

This high minus the previous high, against the previous low minus this low. Only the larger positive one counts. The stair gives +DM 1 and -DM 0.

STEP 2

Smooth over 14

Wilder-smooth both moves and the true range. +DI and -DI on the stair are 100.0000 and 0.0000 from record 14.

STEP 3

Average the gap

ADX is a 14-bar Wilder average of the percent gap between the DIs. On this stair it is 100.0000 on record 27.

DM settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
ADX Smoothing141 to 5,000The Wilder length on DX. The Signal lens changes this.
DI Length141 to 5,000The Wilder length on +DM, -DM and true range.
LinesADX #F50057, +DI #2962FF, -DI #FF6D00FixedThree lines, 1 px, 4 decimals.
Setting
ADX Smoothing
Default
14
Range
1 to 5,000
What it changes
The Wilder length on DX. The Signal lens changes this.
Setting
DI Length
Default
14
Range
1 to 5,000
What it changes
The Wilder length on +DM, -DM and true range.
Setting
Lines
Default
ADX #F50057, +DI #2962FF, -DI #FF6D00
Range
Fixed
What it changes
Three lines, 1 px, 4 decimals.
1423 bars in the ADX average
70,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

DM strategiesUse it in 3 setups.

Read the DI that is on top

Onthe stair+DIis 100.0000 and-DIis 0.0000

Traders often take that as a one-sided up move. A real chart is rarely a perfect stair, so the pair sits between those numbers.

Wait for ADX if you want the gap's history

Untilrecord 27ADXis empty

The DI lines can be read from record 14. ADX needs another 14 DX values.

A tie adds nothing

Ifthe up move equals the down movethenboth raw moves are 0

Neither side gets the bar.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

DM mistakesCommon mistakes.

Reading ADX as up or down

On this stair ADX is 100.0000 because +DI and -DI are as far apart as they can be. The side is the DI pair, not ADX.

Using the first 14 bars

+DI and -DI are empty before record 14. ADX is empty before record 27.

Opening the ADX indicator and expecting +DI

ADX draws one line in #F23645. Directional Movement draws three, with ADX in #F50057.

DM combinationsPair it with these.

DM FAQQuestions traders ask.

What are the Directional Movement settings?

ADX smoothing 14 and DI length 14. There is no source menu.

What is the worked stair?

Each bar is one point higher, starting at high 10, low 9, close 10. Record 14 is +DI 100.0000 and -DI 0.0000. Record 27 is ADX 100.0000.

When do the lines start?

+DI and -DI on record 14. ADX on record 27.

What are the colours?

ADX #F50057, +DI #2962FF, -DI #FF6D00, four decimals.

Is this a different formula from DMI?

No. Same core, same defaults. This is the picker name Directional Movement. The pages are not merged.

Does a high ADX mean buy?

No. It means +DI and -DI are far apart. On the stair the far-apart side happens to be up.

Does it repaint?

No. A closed bar stays. The live bar moves until it closes.

Who created it?

J. Welles Wilder Jr., New Concepts in Technical Trading Systems (1978).

Related indicatorsMore trend tools.

All trend indicators

Try DM on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
DM