Triangular Moving Averages (TMA) place the majority of the weight on the middle portion of the price series.
TMA(5)
= (1/9) * (1 * Close(i) + 2 * Close(i - 1) + 3 * Close(i - 2) + 2 * Close(i - 3) + 1 * Close(i - 4))
GT::Indicators::TMA->new()
GT::Indicators::TMA->new([50])
GT::Indicators::TMA->new([30], {I:Prices OPEN})
http://www.equis.com/free/taaz/movingaverages.html http://www.ivorix.com/en/products/tech/smooth/tma.html