Simple Moving Average
MA Type Argument ID: SIMPLE
The Simple Moving Average, also known as SMA or MA, is simply an average of values over a specified period of time.
A Moving Average is most often used to average values for a smoother representation of the underlying price or indicator.
set BUY = CLOSE > SMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day SMA.