diff --git a/TF_DF.py b/TF_DF.py index 28e0910..b5c9e09 100644 --- a/TF_DF.py +++ b/TF_DF.py @@ -73,8 +73,8 @@ class TF_DF(): return self.klc_list[-2] return None def add_indicators(self, df): - fast = 26 - slow = 52 + fast = 12 + slow = 26 period = 9 macd = ta.MACD(df, fastperiod=fast, slowperiod=slow, signalperiod=period) bb365 = ta.BBANDS(df, timeperiod=365, nbdevup=3.0, nbdevdn=3.0, matype=0)