T3 - Triple Exponential Moving Average

Description

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

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

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

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

Example

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

Last updated