Trend Intensity Index (TII)
Category: trend, momentum
Measures the strength or intensity of a price trend by comparing the sum of positive and negative price deviations relative to a long-term moving average.
Formula
TII = 100 \times \frac{\sum_{i=1}^{n} (Price_i - MA_{2n}) \text{ if } Price > MA}{\sum_{i=1}^{n} |Price_i - MA_{2n}|} \newline \text{where } MA_{2n} \text{ is the Moving Average over } 2 \times \text{Length} \text{ and } n \text{ is Length.}
Inputs
- Length (default: 30)
- MA_Method (default: 0)
- Price (default: 0)
- Overbought_Level (default: 80)
- Oversold_Level (default: 20)
See signal primitives and every published strategy that uses Trend Intensity Index (TII) on WOBR StrategyVerse.