This commit is contained in:
dosangyoon
2022-02-03 21:16:17 +09:00
parent 29ffae1176
commit 579ff520c5

View File

@@ -577,7 +577,9 @@ class AnalyzerSqlite:
self.writeFile(type, CODE, NAME, stock, state) self.writeFile(type, CODE, NAME, stock, state)
# 모든 라인 돌파 # 모든 라인 돌파
if len(close) > 50 and close[0] > max(open[0], avg5[0], avg20[0], avg60[0], avg120[0], avg240[0], bolingerband_upper[0], ichimokucloud_changeLine[0], ichimokucloud_baseLine[0]): if (len(close) > 50 and
close[0] > max(open[0], avg5[0], avg20[0], avg60[0], avg120[0], avg240[0], bolingerband_upper[0], ichimokucloud_changeLine[0], ichimokucloud_baseLine[0]) and
open[0] < max(open[0], avg5[0], avg20[0], avg60[0], avg120[0], avg240[0], bolingerband_upper[0], ichimokucloud_changeLine[0], ichimokucloud_baseLine[0])):
type = "1_모든 라인 돌파" type = "1_모든 라인 돌파"
self.writeFile(type, CODE, NAME, stock, state) self.writeFile(type, CODE, NAME, stock, state)