Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
evsamsonov committed Apr 8, 2023
1 parent cbfe242 commit fe17c1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indicator/trend.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const (

type TrendOption func(*Trend)

// TrendWithFlatMaxDiffInPercent allows to pass flatMaxDiff in percent.
// The default value is false
func TrendWithFlatMaxDiffInPercent(val bool) func(*Trend) {
return func(t *Trend) {
t.flatMaxDiffInPercent = val
Expand Down

0 comments on commit fe17c1b

Please sign in to comment.