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