Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Aug 8, 2023
1 parent 583a9b4 commit cb2cf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ta_lib/patterns/candlestick/src/kangaroo_tail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = &range * 0.66 + &low;
let two_third_low_range = &low - &range * 0.66;

close.gt(&two_third_low_range)
& open.gt(&two_third_low_range)
Expand Down

0 comments on commit cb2cf6a

Please sign in to comment.