diff --git a/ta_lib/patterns/candlestick/src/kangaroo_tail.rs b/ta_lib/patterns/candlestick/src/kangaroo_tail.rs index d666853c..ca1bef22 100644 --- a/ta_lib/patterns/candlestick/src/kangaroo_tail.rs +++ b/ta_lib/patterns/candlestick/src/kangaroo_tail.rs @@ -7,7 +7,7 @@ pub fn bullish(open: &[f64], high: &[f64], low: &[f64], close: &[f64]) -> Series let close = Series::from(close); let range = &high - &low; - let two_third_low_range = &low - &range * 0.66; + let two_third_low_range = &low + &range * 0.66; close.gt(&two_third_low_range) & open.gt(&two_third_low_range)