# T3 - Triple Exponential Moving Average

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

The Triple Exponential Moving Average T3 indicator (also dubbed the T3MA) is calculated by taking the weighted sums of a simple, a double, and a triple EMA. This produces a smooth, soft indicator line. The parameter tCount allows the trader to set the number of reiterations. The calculation is the same as the calculation for the DEMA, with the slight difference that here, a volume factor is also added. It accepts values between 0 and 1 (default: 0.7).

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

```csharp
T3(int period, int tCount, double vFactor)
T3(IDataSeries inSeries, int period, int tCount, double vFactor)
T3(int period, int tCount, double vFactor)[int barsAgo]
T3(IDataSeries inSeries, int period, int tCount, double vFactor)[int barsAgo]
```

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

**double**

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

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

inSeries Input data series for the indicator

period Number of bars included in the calculations

tCount Number of iterations for the smoothing

vFactor Volume factor (multiplier)

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

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

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

```csharp
//Output of the value for the T3 indicator
Print("The current T3 value is " + T3(14, 3, 0.7)[0]);
```
