Skip to content

Indicator Description

TEMA (Triple Exponential Moving Average) is an improved moving average that reduces lag by applying triple exponential smoothing, increasing responsiveness to price changes.

Function Information

  • Function Name: TEMA
  • Input Parameters:
    • #Kline: K-line data
  • Parameter Settings:
    • timeperiod: Time period (default: 30)
  • Output: Moving average value

Calculation Principle

TEMA is calculated using the following formula:

TEMA = (3 * EMA1) - (3 * EMA2) + EMA3

Where:

  • EMA1 is the first exponential moving average of price
  • EMA2 is the second exponential moving average of price
  • EMA3 is the third exponential moving average of price

Usage Scenarios

  1. Trend identification and tracking
  2. Support and resistance level judgment
  3. Price breakout confirmation
  4. Trading signal generation