Skip to content

Commit

Permalink
udp
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed May 1, 2024
1 parent 1fc3d2c commit 41c209b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ta_lib/indicators/trend/src/supertrend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ pub fn supertrend(

direction = direction.nz(first_non_empty);

let supertrend = iff!(direction.seq(&ONE), up, dn);
let trend = iff!(direction.seq(&ONE), up, dn);

(direction, supertrend)
(direction, trend)
}

#[cfg(test)]
Expand Down

0 comments on commit 41c209b

Please sign in to comment.