Function mfi

Source
pub fn mfi(
    high: &Vec<f64>,
    low: &Vec<f64>,
    close: &Vec<f64>,
    volume: &Vec<f64>,
    timeperiod: i32,
) -> (Vec<f64>, TA_Integer)
Expand description

TA_MFI - Money Flow Index

Input: high, low, close, volume, timeperiod

Output: (1st, 2nd)

1st: output vector(f64)

2nd: the first index of inputs corresponding to an valid output value