diff --git a/src/value_estimation_team/indicators/adx.rs b/src/value_estimation_team/indicators/adx.rs index 3473758..9ecdce4 100644 --- a/src/value_estimation_team/indicators/adx.rs +++ b/src/value_estimation_team/indicators/adx.rs @@ -101,7 +101,7 @@ filtered_symbols: &Vec,) -> Result)>, Bo initial_adx_vec.push(adx_data); } let partial_vec1 = initial_adx_vec.get(..adx_len).unwrap(); // for calculation of initial value - let partial_vec2 = initial_adx_vec.get(di_len..).unwrap(); // for calculation of the rest + let partial_vec2 = initial_adx_vec.get(adx_len..).unwrap(); // for calculation of the rest let mut smoothed_adx_vec: Vec = Vec::new(); let mut adx_calculated = 0.0;