Moving Average - T3 (T3)
<< Click to Display Table of Contents >> Moving Average - T3 (T3) |
The T3 is a type of moving average, or smoothing function. It is based on the DEMA. The T3 takes the DEMA calculation and adds a vfactor which is between zero and 1. The resultant function is called the GD, or Generalized DEMA. A GD with vfactor of 1 is the same as the DEMA. A GD with a vfactor of zero is the same as an Exponential Moving Average. The T3 typically uses a vfactor of 0.7.
... Courtesy of FMLabs
T3(int period, int tCount, double vFactor)
T3(ISeries<double> input, int period, int tCount, double vFactor)
Returns default value
T3(int period, int tCount, double vFactor)[int barsAgo]
T3(ISeries<double> input, int period, int tCount, double vFactor)[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input |
Indicator source data (?) |
period |
Number of bars used in the calculation |
tCount |
Number of smooth iterations |
vFactor |
A multiplier fudge factor |
// Prints the current value of a 20 period T3 using default price type |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.