Skip to main content

rsi

Function rsi 

Source
pub fn rsi(v: &[f64], n: usize) -> Vec<Option<f64>>
Expand description

RSI with Wilder’s smoothing (α = 1/n), seeded with the mean gain/loss of the first n changes.