Trend Direction and Force Index (TDFI)
Category: trend, momentum
Measures trend intensity and direction by calculating the divergence between a Moving Average and its smoothed counterpart, cubed by the average momentum.
Formula
TDF = \text{Smooth}\left(\frac{(MA - \text{SmoothedMA}) \times (\Delta MA + \Delta \text{SmoothedMA})^3}{\max_{window}(|TDF|)}\right) - \text{dead\_zone} \text{ where window is } 3 \times Period\
Inputs
- trendPeriod (default: 20)
- trendMaType (default: ma_ema)
- trendPrice (default: pr_close)
- SmoothLength (default: 20)
- SmoothPhase (default: 0)
- dead_zone (default: 0.05)
See signal primitives and every published strategy that uses Trend Direction and Force Index (TDFI) on WOBR StrategyVerse.