This commit is contained in:
dsyoon
2023-01-23 21:32:43 +09:00
parent e44b8c444b
commit 46af029663

View File

@@ -486,6 +486,7 @@ class AnalyzerSqlite:
if stock_monthly['envelope_lower'][0] is not None and stock_monthly['envelope_lower'][1] is not None:
# env 하단에 부딪힘
if stock_monthly['close'][1] < stock_monthly['envelope_lower'][1] and stock_monthly['envelope_lower'][0] < stock_monthly['close'][0]:
if stock_daily['close'][1] < stock_daily['avg5'][1] and stock_daily['avg5'][0] < stock_daily['close'][0]:
dir_code = "3"
dir_name = "monthly_EV하단위로_올라옴"
final_status_count += 1
@@ -528,6 +529,7 @@ class AnalyzerSqlite:
if (98<stock_daily['disparity_avg5'][0]<102 and 98<stock_daily['disparity_avg10'][0]<102 and
98<stock_daily['disparity_avg20'][0]<102 and 98<stock_daily['disparity_avg60'][0]<102 and
98<stock_daily['disparity_avg120'][0]<102):
if stock_daily['close'][1] < stock_daily['avg5'][1] and stock_daily['avg5'][0] < stock_daily['close'][0]:
dir_code = "14"
dir_name = "daily_이격도"
final_status_count += 1