DX (Directional Movement Index)
Indicator Description
DX (Directional Movement Index) is a trend strength indicator that measures the strength of a trend by calculating the difference between +DI and -DI. It is the basis of the ADX indicator.
Function Information
- Function Name:
DX - Input Parameters:
High: High priceLow: Low priceClose: Closing price
- Parameter Settings: None
- Output: DX value
Calculation Principle
DX is calculated using the following formula:
DX = 100 * |+DI - -DI| / (+DI + -DI)
Where:
- +DI is the positive directional indicator
- -DI is the negative directional indicator
Usage Scenarios
- Trend Strength Assessment
- Trend Confirmation
- Trading Signal Generation
- Market State Analysis
Usage Recommendations
- DX > 25 indicates a strong trend
- DX < 20 indicates a weak trend
- Use in conjunction with +DI and -DI
- Pay attention to market environment changes