DMI (Function)

image\trumpet2.gif Disclaimer

The DMI series function returns the directional movement index (DMI) for a security.

Syntax

DMI(Length)

Returns (Double)

A positive numeric value for the current bar.

Parameters

Name

Type

Description

Length

Numeric

Sets the number of bars to consider for the directional movement index calculation.

Remarks

DMI attempts to measure the trending quality of a security independent of direction. The greater the DMI value, the stronger a security is trending. DMI does not indicate direction.

The DirMovement function calculates the DMI value.

The value for the Length input parameter should always be a whole number greater than 0.

Example

Assigns to Value1 the DMI value where the DMI length is 14 bars, then plots Value1:

Value1 = DMI(14);

Plot1(Value1, "DMI");

Reference

Wilder, J. Welles, Jr. New Concepts in Technical Trading Systems (Greensboro, NC: Trend Research, 1978).

See Also

DMICustom, DMIMinus, DMIPlus, DirMovement