DDI (Directional Difference Index)
Indicator Description
DDI (Directional Difference Index) is a technical indicator used to measure the difference in strength between bulls and bears in the market, commonly used for trend judgment and signal filtering.
Function Information
- Function Name: DDI
- Input Parameters: High, Low, Close
- Parameter Settings: timeperiod1 (default: 14), timeperiod2 (default: 5)
- Output: ddi, addi, ad
Calculation Principle
DDI reflects changes in the strength of bulls and bears in the market by smoothing the directional difference over a certain period.
Application Scenarios
- Trend judgment
- Bull and bear strength analysis
- Trading signal filtering
- Divergence analysis
Usage Suggestions
- Rising DDI indicates strengthening bullish power
- Falling DDI indicates strengthening bearish power
- Pay attention to divergence between DDI and price
- Use in combination with other indicators