Change to the new added
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
# 可能笔终结:部分条件满足
|
||||
|
||||
Reference in New Issue
Block a user