趋势分高于92禁止出场
This commit is contained in:
parent
9cfcd71970
commit
450953aae8
@ -562,6 +562,11 @@ class FreqaiPrimer(IStrategy):
|
||||
)
|
||||
|
||||
# 综合卖出条件:根据 trend_score 调整逻辑
|
||||
#如果趋势得分为100,拒绝退出
|
||||
if trend_score > 92:
|
||||
logger.info(f"[{pair}] 趋势得分为100,拒绝退出")
|
||||
return dataframe
|
||||
|
||||
trend_sell_threshold = 85
|
||||
if trend_score > trend_sell_threshold:
|
||||
sell_condition = (cond1 & cond2) | (cond1 & cond3) | (cond2 & cond3) # 中等趋势,至少两个条件满足
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user