Skip to content

Commit ccd77f8

Browse files
committed
X7: signal 163: add protection.
1 parent e4f69e7 commit ccd77f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NostalgiaForInfinityX7.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NostalgiaForInfinityX7(IStrategy):
6969
INTERFACE_VERSION = 3
7070

7171
def version(self) -> str:
72-
return "v17.3.737"
72+
return "v17.3.738"
7373

7474
stoploss = -0.99
7575

@@ -21216,6 +21216,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2121621216
& ((df["RSI_3_4h"] > 20.0) | (df["AROONU_14_15m"] < 40.0) | (df["ROC_9_1d"] < 20.0))
2121721217
# 4h & 1d down move, 1h & 4h low
2121821218
& ((df["RSI_3_4h"] > 25.0) | (df["RSI_3_1d"] > 25.0) | (df["CMF_20_1h"] > -0.3) | (df["CMF_20_4h"] > -0.4))
21219+
# 4h down move, 4h still high 1d downtrend
21220+
& ((df["RSI_3_4h"] > 25.0) | (df["AROONU_14_4h"] < 50.0) | (df["ROC_9_1d"] > -20.0))
2121921221
# 4h down move, 1d high & overbought
2122021222
& ((df["RSI_3_4h"] > 25.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 80.0) | (df["ROC_9_1d"] < 25.0))
2122121223
# 4h down move, 4h & 1d high

0 commit comments

Comments
 (0)