From 3e1a70bbb2510b2aec9aa8b0ac54976a1d29d9cb Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Tue, 16 Jan 2018 10:47:34 +0200 Subject: [PATCH] enable correct bollinger bands --- freqtrade/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/analyze.py b/freqtrade/analyze.py index f85c46248..ac8279603 100644 --- a/freqtrade/analyze.py +++ b/freqtrade/analyze.py @@ -114,11 +114,11 @@ def populate_indicators(dataframe: DataFrame) -> DataFrame: dataframe['blower'] = ta.BBANDS(dataframe, nbdevup=2, nbdevdn=2)['lowerband'] """ # Bollinger bands + """ bollinger = qtpylib.bollinger_bands(qtpylib.typical_price(dataframe), window=20, stds=2) dataframe['bb_lowerband'] = bollinger['lower'] dataframe['bb_middleband'] = bollinger['mid'] dataframe['bb_upperband'] = bollinger['upper'] - """ # EMA - Exponential Moving Average dataframe['ema5'] = ta.EMA(dataframe, timeperiod=5)