diff --git a/freqtrade/analyze.py b/freqtrade/analyze.py index 20fa67ca3..4dba24851 100644 --- a/freqtrade/analyze.py +++ b/freqtrade/analyze.py @@ -48,7 +48,10 @@ def populate_indicators(dataframe: DataFrame) -> DataFrame: dataframe['ema5'] = ta.EMA(dataframe, timeperiod=5) dataframe['ema10'] = ta.EMA(dataframe, timeperiod=10) dataframe['ao'] = awesome_oscillator(dataframe) - + macd = ta.MACD(dataframe) + dataframe['macd'] = macd['macd'] + dataframe['macdsignal'] = macd['macdsignal'] + dataframe['macdhist'] = macd['macdhist'] return dataframe