diff --git a/pkg/bbgo/standard_indicator_set.go b/pkg/bbgo/standard_indicator_set.go index c7463702b..52ecdddce 100644 --- a/pkg/bbgo/standard_indicator_set.go +++ b/pkg/bbgo/standard_indicator_set.go @@ -42,11 +42,12 @@ type indicatorKey struct { func NewStandardIndicatorSet(symbol string, stream types.Stream, store *MarketDataStore) *StandardIndicatorSet { return &StandardIndicatorSet{ - Symbol: symbol, - store: store, - stream: stream, - iwIndicators: make(map[indicatorKey]indicator.KLinePusher), - iwbIndicators: make(map[types.IntervalWindowBandWidth]*indicator.BOLL), + Symbol: symbol, + store: store, + stream: stream, + iwIndicators: make(map[indicatorKey]indicator.KLinePusher), + iwbIndicators: make(map[types.IntervalWindowBandWidth]*indicator.BOLL), + macdIndicators: make(map[indicator.MACDConfig]*indicator.MACD), } }