Change to the new added

This commit is contained in:
jackyu66git
2025-06-12 17:02:15 +08:00
parent 747f74c1d1
commit b4ded5d7d2
3 changed files with 178 additions and 80 deletions
+3 -3
View File
@@ -1217,7 +1217,7 @@ class ChanKLC():
#print(self.start_time, base_score, is_bi_end, post_fx_confirmation, fx_quality)
# 2025-06-07 08:15:00 1.5 0 0.8 0.7
# 限制在-3到3范围内
return max(-3, min(3, base_score))
return base_score
def _check_if_bi_ending_fx(self, klc_offset):
"""
@@ -1280,7 +1280,7 @@ class ChanKLC():
downward_trend += 1
# 强烈笔终结:跌破关键位且无新高
if broken_key_levels >= 1 and new_highs == 0 and downward_trend >= 2:
if broken_key_levels >= 1 and new_highs == 0 and downward_trend >= 1:
return 2
# 可能笔终结:部分条件满足
@@ -1326,7 +1326,7 @@ class ChanKLC():
upward_trend += 1
# 强烈笔终结:突破关键位且无新低
if broken_key_levels >= 1 and new_lows == 0 and upward_trend >= 2:
if broken_key_levels >= 1 and new_lows == 0 and upward_trend >= 1:
return 2
# 可能笔终结:部分条件满足