From b01256dd60428b0c0c6a6f60740e89d45c0207dd Mon Sep 17 00:00:00 2001 From: bonedaddy Date: Sat, 9 Jan 2021 23:40:09 -0800 Subject: [PATCH] refine bollinger band impl --- discord/charts.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/charts.go b/discord/charts.go index e6422f5..f69a1d7 100644 --- a/discord/charts.go +++ b/discord/charts.go @@ -77,7 +77,9 @@ func (c *Client) priceWindowChart(ctx *dgc.Ctx) { } bbSeries := &chart.BollingerBandsSeries{ - Name: pair + " - bol. bands", + Name: pair + " - bol. bands", + Period: 20, + K: 2, Style: chart.Style{ StrokeColor: drawing.ColorBlack, //StrokeColor: drawing.ColorFromHex("efefef"),