From fe17c1b9e14119f822c4420240154df2f026f47b Mon Sep 17 00:00:00 2001 From: Evgeny Samsonov Date: Sat, 8 Apr 2023 22:49:00 +0300 Subject: [PATCH] Add comment --- indicator/trend.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indicator/trend.go b/indicator/trend.go index 6677308..9783c49 100644 --- a/indicator/trend.go +++ b/indicator/trend.go @@ -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