diff --git a/hts/BuySellChecker.py b/hts/BuySellChecker.py index 10cbd92..55bf973 100644 --- a/hts/BuySellChecker.py +++ b/hts/BuySellChecker.py @@ -588,7 +588,7 @@ class BuySellChecker: break if data["avg3"][i] > p_avg3+3 and max_avg3 < data["avg3"][i]: # if data["avg6"][i-10] > data["avg6"][i]: - if data['slow_k'][i] < 50: + if data['macd'][i] <= 0: if i == 382 or i == 383: if data["close"][i] != data["high"][i]: return -1, -1