DMI (Directional Movement Index)
Indicator Description
DMI (Directional Movement Index) is a technical indicator used to measure the strength and direction of market trends, commonly used to determine whether the market is trending.
Function Information
- Function Name: DMI
- Input Parameters: High, Low, Close
- Parameter Settings: timeperiod (default: 14)
- Output: pdi (+DI), mdi (-DI)
Calculation Principle
DMI reflects the power comparison between bulls and bears by calculating the positive directional indicator (+DI) and the negative directional indicator (-DI).
Application Scenarios
- Trend strength judgment
- Trend direction identification
- Trend filtering
- Trading signal generation
Usage Suggestions
- +DI crossing above -DI can be seen as a buy signal
- -DI crossing above +DI can be seen as a sell signal
- Use ADX indicator to judge trend strength
- Use in combination with other indicators