init
This commit is contained in:
@@ -629,11 +629,11 @@ class Common:
|
|||||||
if stock['upper'][0] < stock['high'][0]:
|
if stock['upper'][0] < stock['high'][0]:
|
||||||
# 볼린저 밴드 width 로 매수 시점
|
# 볼린저 밴드 width 로 매수 시점
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
if stock['width'][i+1] < 20 and 20 < stock['width'][i]:
|
if stock['width'][i + 1] < 20 < stock['width'][i]:
|
||||||
check = True
|
check = True
|
||||||
break
|
break
|
||||||
# 볼린저 밴드 %B와 MFI로 매수 시점
|
# 볼린저 밴드 %B와 MFI로 매수 시점
|
||||||
if 80 < stock['pb'][i+1] and 80 < stock['mfi'][i]:
|
if 80 < stock['pb'][0] and 80 < stock['mfi'][0]:
|
||||||
check = True
|
check = True
|
||||||
|
|
||||||
return check
|
return check
|
||||||
|
|||||||
Reference in New Issue
Block a user