# TEMA - Triple Exponential Moving Average

#### Description <a href="#description_70" id="description_70"></a>

The TEMA is combined from a single, a double and a triple EMA. This combo improves the delay between the indicator and price movements. The Triple Exponential Moving Average is quite efficient at smoothing price changes.

You can find more information about moving averages here: [*Moving Averages*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#moving-averages).

#### Usage <a href="#usage_70" id="usage_70"></a>

```csharp
TEMA(int period)
TEMA(IDataSeries inSeries, int period)
TEMA(int period)[int barsAgo]
TEMA(IDataSeries inSeries, int period)[int barsAgo]
```

#### Return value <a href="#return-value_67" id="return-value_67"></a>

**double**

When using this method with an index (e.g. **TEMA**(14)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Parameters <a href="#parameters_60" id="parameters_60"></a>

inSeries Input data series for the indicator

period Number of bars included in the calculations

#### Visualization <a href="#visualization_65" id="visualization_65"></a>

![TEMA - Triple Exponential Moving Average](https://agenatrader.github.io/AgenaIndicator-documentation/media/TEMA.jpg)

#### Example <a href="#example_66" id="example_66"></a>

```csharp
//Output for the Triple Exponential Moving Average
Print("The current TEMA value is " + TEMA(14)[0]);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://indicators.agenatrader.com/standard-indicators/moving-averages/tema-triple-exponential-moving-average.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
