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.

# Syntax

#### Parameters

*s*
- An series where the first term corresponds to value of the market variable
(for example, closing price) in the last period, the second term corresponds to the value of the market
variable in the previous period and so on.
*elementValue*
- Specifies the particular element value (for example High, Low, Close or Open of
the FinancialEngine time series) which will be considered within this indicator evaluation. In particular,
if you wish to use the element value high then you should pass the parameter
High. In a similarly fashion if you wish to
use the low, close or open, then you should pass the parameter
Low, Close,
Open, respectively.
*lengthOfMA*
- The number of periods over which the moving average is evaluated for each period.

#### Return Value

A series where the first term is the value of the MA corresponding to the most recent period,
the second term is the value of the MA on the previous period and so on.

# Remarks

# See Also