diff --git a/stock/analysis/Common.py b/stock/analysis/Common.py index 5ecfc4c..8b3c962 100644 --- a/stock/analysis/Common.py +++ b/stock/analysis/Common.py @@ -620,7 +620,7 @@ class Common: if len(stock['trend']) < 1: return check - if (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]) and (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]): + if not (stock['avg60'][1] < stock['avg20'][1] and stock['avg5'][1]) and (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]): if stock['upper'][0] < stock['avg5'][0]: check = True