Function stochrsi

Source
pub fn stochrsi(
    close: &Vec<f64>,
    timeperiod: i32,
    fastk_period: i32,
    fastd_period: i32,
    fastd_matype: TA_MAType,
) -> (Vec<f64>, Vec<f64>, TA_Integer)
Expand description

TA_STOCHRSI - Stochastic Relative Strength Index

Input: close, timeperiod, fastk_period, fastd_period, fastd_matype=0

Output: (1st, 2nd, 3rd)

1st: output fastk vector(f64)

2nd: output fastd vector(f64)

3rd: the first index of inputs corresponding to an valid output value