def triangular_moving_average(data, period):
catch_errors.check_for_period_error(data, period)<EOL>tma = sma(sma(data, period), period)<EOL>return tma<EOL>
Triangular Moving Average.

Formula:
TMA = SMA(SMA())