Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Jul 28, 2023
1 parent c4ac69a commit a3265a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ta_lib/trend/src/zlema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub fn zlema(source: &[f64], period: usize) -> Vec<f64> {

let macd_line = &ema_first - &ema_second;

let zlema = ema_first + &macd_line;
let zlema = ema_first + macd_line;

zlema.into()
}
Expand Down

0 comments on commit a3265a1

Please sign in to comment.