Hello. the public function stochrsi don't work... $stochrsi_trend = $stochrsi = trader_stochrsi($data['close'], $period); print_r($stochrsi_trend); this return an array with 0 in all values of array.