R/RcppExports.R
sma.Rd
Simple Moving Average (SMA)
sma(price, n)
A numeric vector of prices
The period for SMA calculation
A numeric vector containing the SMA values