The ADX is a component of the DMI that specifically measures the strength of the trend, regardless of its direction, by averaging the expansion range of price over a specified period. In contrast, the DMI itself consists of two lines, +DI and -DI, which indicate the direction of the price movement and its strength.