Help
Indicators
Trend Intensity Index (TII)

Understanding the Trend Intensity Index (TII)

Trend Intensity Index (TII) is a technical indicator designed to measure the strength and persistence of a trend. By comparing short-term and long-term price movements, TII helps traders gauge how strong a trend is and whether it is likely to continue.

What is the Trend Intensity Index?

The Trend Intensity Index (TII) is a momentum oscillator that evaluates the intensity of a trend. It compares the average price changes over short and long periods to assess the trend's strength. This helps traders identify whether the current trend is gaining momentum or weakening.

How is the TII Calculated?

The TII calculation involves comparing short-term and long-term price averages. The basic steps are:

  1. Calculate the Short-Term and Long-Term Averages:

    • Short-Term Average Price Change:

      Short-Term Average = Average of price changes over the short period (e.g., 5 periods)
    • Long-Term Average Price Change:

      Long-Term Average = Average of price changes over the long period (e.g., 20 periods)
  2. Calculate the Trend Intensity Index (TII):

    TII = 100 * (Short-Term Average - Long-Term Average) / (Short-Term Average + Long-Term Average)

    This formula measures the difference between short-term and long-term price changes as a percentage of their sum.

  3. Apply Moving Average to TII (Optional):

    To smooth the TII values and identify trends more clearly, apply a moving average:

    Smoothed TII = Moving Average (TII over signal period)

Formula

Here's the general formula for TII:

Short-Term Average = Average price change over short period

Long-Term Average = Average price change over long period

TII = 100 * (Short-Term Average - Long-Term Average) / (Short-Term Average + Long-Term Average)

Smoothed TII = Moving Average (TII over signal period)

Uses of TII

The Trend Intensity Index is used for:

1. Trend Strength Analysis

  • Trend Confirmation: Helps confirm the strength of a trend and its potential continuation.

2. Signal Generation

  • Trading Signals: Provides buy or sell signals based on the intensity of the trend and its changes.

3. Market Momentum

  • Momentum Assessment: Evaluates whether a market is trending strongly or weakly.

Parameters

Here are the key parameters for configuring the TII:

  • Data Offset (pod):

    • Default Value: 1
    • Min Value: 1
    • Max Value: 300
    • Description: Defines the number of periods used for calculating the TII.
  • Data Type (data):

    • Default Value: c (close)
    • Options: c (close), o (open), h (high), l (low), v (volume)
    • Description: Specifies the data used for calculating TII.
  • Short Period (short_n):

    • Default Value: 5
    • Min Value: 1
    • Max Value: 300
    • Description: The short period used for averaging price changes.
  • Long Period (long_n):

    • Default Value: 20
    • Min Value: 1
    • Max Value: 300
    • Description: The long period used for averaging price changes.
  • Signal Period (signal_n):

    • Default Value: 9
    • Min Value: 1
    • Max Value: 300
    • Description: The period for applying the moving average to the TII.
  • Moving Average Type (ma):

    • Default Value: ema (Exponential Moving Average)
    • Options: sma, ema, wma, tema, trima, dema, hma, mama, vma, kama, vidya
    • Description: Specifies the type of moving average applied to the TII.

Advantages of TII

  • Trend Strength: Provides insights into the strength and persistence of a trend.
  • Signal Clarity: Helps generate clear trading signals based on trend intensity.
  • Momentum Insight: Offers a view of market momentum and potential trend changes.

Limitations of TII

  • Lagging Indicator: As with most indicators, TII may lag behind current price movements.
  • Historical Data Dependency: Based on historical data, which may not always predict future trends accurately.

Conclusion

The Trend Intensity Index (TII) is a powerful tool for traders looking to assess the strength and persistence of market trends. By comparing short-term and long-term price movements, TII helps in identifying trend strength and generating actionable trading signals. Applying a moving average to the TII further smooths the indicator, providing clearer insights and enhancing trading strategies.