Weighted Moving Average
MA Type Argument ID: WEIGHTED
A Weighted Moving Average or WMA places more weight on recent values and less
weight on older values.
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.
set BUY = CLOSE > WMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day WMA.