Triangular Moving Average (TMA) gives a smoother average by performing additional average over average. 

This calculation results in a double smoothed simple moving average. The average is calculate twice as a mean of a set of simple moving averages.



Input Data*

Defines the time series data fed into the function. This can be a sensor ID or another function.


Number of data intervals considered in the function

*Input data is optional in most cases. If Info360 detects that the first input is time series data, it will be applied to the function. Otherwise, the current active sensor's data will be used, which is often the case in Reference Charts.

Example Usage as an Expression:

TMA(Sum(4),10)): Find triangular moving average for data set when every 4 data points are added. Evaluates for the last 40 intervals.

Examples Reference Chart:

The following example shows a comparison of pump flowrate data and multiple moving average methods with the same period.

The TMA method displays the smoothest line with the most delay from the original signal, while WMA most closely follows current data.

Regression responds the fastest to sudden changes in measured values, but this also makes it the most sensitive to spikes in data.

The Median function preserves the on/off gradient in the data the best, but it will be offset by half of the selected period.

Also note that EMA and TMA provide dampened smooth values for a longer window than the input period.

For information on setting up custom equations and syntax, please refer to Analytical Functions.