Simple Moving Average (SMA). Full name: ta_sma Defined in: ta.stub.php Parameters Parameter Type Description $values float[] $period int Return Value array<int,float|null> Values aligned to input indexes (leading nulls).