From 9f9777008d31c9a6a877c80b9c2a612dcaca04c0 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Sat, 30 Aug 2025 01:18:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=83=E6=9E=97=E5=B8=A6=E4=B8=8B=E8=BD=A81.?= =?UTF-8?q?05?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freqtrade/templates/freqaiprimer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/templates/freqaiprimer.py b/freqtrade/templates/freqaiprimer.py index 049ff0bb..6469356c 100644 --- a/freqtrade/templates/freqaiprimer.py +++ b/freqtrade/templates/freqaiprimer.py @@ -912,7 +912,7 @@ class FreqaiPrimer(IStrategy): cond1 = (dataframe["&-price_value_divergence"] < self.buy_threshold * 1.5) # 放宽到1.5倍 cond2 = (dataframe["volume_z_score"] > volume_z_score_threshold * 0.7) # 降低成交量要求 cond3 = (dataframe["rsi"] < rsi_threshold * 1.2) # 放宽RSI要求 - cond4 = (dataframe["close"] <= dataframe["bb_upperband"]) # 可以在上轨附近入场 + cond4 = (dataframe["close"] <= dataframe["bb_lowerband"] * 1.05) # 必须跌破下轨 cond5 = (dataframe["stochrsi_k"] < stochrsi_threshold * 1.2) # 放宽STOCHRSI要求 cond6 = pd.Series([True] * len(dataframe), index=dataframe.index) # 取消熊市过滤 cond7 = pd.Series([True] * len(dataframe), index=dataframe.index) # 取消超买过滤