This commit is contained in:
윤도상/택배파트
2024-11-01 09:00:58 +09:00
parent ca3659c3c4
commit ed9786e97a

View File

@@ -629,13 +629,15 @@ class Common:
if stock['upper'][0] < stock['high'][0]:
# 볼린저 밴드 width 로 매수 시점
for i in range(10):
if stock['width'][i+1] < 20 and 20 < stock['width'][i]:
check = True
break
if len(stock['width']) > 2:
if stock['width'][i+1] < 20 and 20 < stock['width'][i]:
check = True
break
# 볼린저 밴드 %B와 MFI로 매수 시점
if 80 < stock['pb'][i+1] and 80 < stock['mfi'][i]:
check = True
break
if len(stock['pb']) > 2 and len(stock['mfi']) > 2:
if 80 < stock['pb'][i+1] and 80 < stock['mfi'][i]:
check = True
break
return check
# 낙폭 과대 체크