Skip to content

Commit 1e00020

Browse files
committed
X7: signal 61: add protection.
1 parent cae5440 commit 1e00020

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.658"
72+
return "v17.3.659"
7373

7474
stoploss = -0.99
7575

@@ -16972,6 +16972,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1697216972
& ((df["RSI_3_1h"] > 50.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_1h"] < 25.0))
1697316973
# 1h down move, 4h high, 1d downtrend
1697416974
& ((df["RSI_3_1h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 60.0) | (df["ROC_9_1d"] > -60.0))
16975+
# 4h & 1d down move, 15m still high
16976+
& ((df["RSI_3_4h"] > 3.0) | (df["RSI_3_1d"] > 15.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 40.0))
1697516977
# 4h & 1d down move, 1h still not low enough
1697616978
& ((df["RSI_3_4h"] > 3.0) | (df["RSI_3_1d"] > 15.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 30.0))
1697716979
# 4h & 1d down move, 1d still not low enough

0 commit comments

Comments
 (0)