dotnetCHARTING Send comments on this topic.
TriangularMovingAverage Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class : TriangularMovingAverage Method


Evaluates the x-period Triangular Moving Average(TMA) where x corresponds to the length of the time series array given as a parameter, for all periods for which sufficient data is provided.

Overload List

OverloadDescription
TriangularMovingAverage(String,Series,ElementValue,Int32)Evaluates the x-period Triangular Moving Average(TMA) where x corresponds to the length of the time series array given as a parameter, for all periods for which sufficient data is provided.  
TriangularMovingAverage(Series,ElementValue,Int32)Evaluates the x-period Triangular Moving Average(TMA) where x corresponds to the length of the time series array given as a parameter, for all periods for which sufficient data is provided.  
TriangularMovingAverage(SeriesCollection,ElementValue,Int32)Evaluates the x-period Triangular Moving Average(TMA) where x corresponds to the length of the time series array given as a parameter, for all periods for which sufficient data is provided.  

Remarks

Further Explanation

The TMA is a special case of the WeightedMovingAverage, where the term triangular is motivated by the way in which the weights are chosen for the elements of the time series array. For example, for a 7-period TMA, that is when the time series has length 7, the corresponding weights of the time series elements are: 1, 2, 3, 4, 3, 2, 1. In the case of the 6 period TMA the weights would be 1, 2, 3, 3, 2, 1.

See Also