Average Directional Index (Also referred to as "Directional Movement")

ADX is a measure of Directional Movement.  It indicates of the strength of a trend.  It is measured from 0 to 100.

 

Syntax: ADX(Length, Smoothing, Interval, [Ref], [Symbol])

Length = Required. Number of intervals. (14, 21) 

Smoothing = Required. Number of periods used in the DX calculated from +DI and -DI.

Interval = Required. 

[Ref] = Optional.

[Symbol] = Optional.

 

Comments: 

The ADX study in RavenQuote defaults to Length = 14 and Smoothing = 14

 

Examples:

ADX(10, 5, D, YHOO)

Gives the ADX line for 10 days, with smoothing of 5 days, for the symbol Yahoo.

 

ADX(24,5,15)

Gives the ADX line for 24 15-minute bars, smoothed by 5 minutes.