Triangular Moving Average
MA Type Argument ID: TRIANGULAR
The Triangular Moving Average or TMA is similar to a Simple Moving Average, except that more weight is given to the price in the middle of the moving average periods.
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.
set BUY = CLOSE > TMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day TMA.