This commit is contained in:
dsyoon
2023-08-26 06:14:27 +09:00
parent 048845d61c
commit 2434e067e2
2 changed files with 13 additions and 11 deletions

View File

@@ -566,8 +566,10 @@ class Common:
# daily_5일선_돌파
def check_5_moving_line(self, stock, type="daily"):
if (stock['close'][1] < stock['avg5'][1] and stock['avg5'][0] <= stock['close'][0]):
return True
if (stock['close'][1] < stock['avg5'][1] and stock['avg5'][0] < stock['close'][0]):
if stock['volume'][1] * 1.5 < stock['volume'][0]:
if stock['open'][0] < stock['close'][0]:
return True
return False