Triangular Moving Average

From Boolean Trader
Jump to: navigation, search

Description

The Triangular Moving Average is similar to the Simple Moving Average but instead places more weight on middle portion of the smoothing period and less weight on the newest and oldest bars in the period.

It takes one parameter, the period n. Larger values for n will have a greater smoothing effect on the input data.

It is calculated for each bar as the weighted arithmetic mean of the previous n bars. For example, the weights w for an n of 4 are: 1, 2, 2, 1. The weights w for a n of 7 are: 1, 2, 3, 4, 3, 2, 1. It's easy to see why it's called the Triangular Moving Average.[1]

Syntax



Inputs

Outputs

Example Usage

Example Calculations

Chart

References