(PECL trader >= 0.2.0)
trader_sma — 簡單移動平均
$real
$timePeriod
real
實數值的陣列。
timePeriod
週期數。有效範圍從 2 到 100000。
回傳包含計算資料的陣列,失敗則回傳 false。