Skip to content

Commit 0694e6f

Browse files
committed
X7: signal 63: add protection.
1 parent 5320676 commit 0694e6f

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.760"
72+
return "v17.3.761"
7373

7474
stoploss = -0.99
7575

@@ -17634,6 +17634,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1763417634
& ((df["RSI_3_1h"] > 10.0) | (df["RSI_3_4h"] > 10.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0))
1763517635
# 1h & 4h down move, 1h still not low enough
1763617636
& ((df["RSI_3_1h"] > 10.0) | (df["RSI_3_4h"] > 15.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 20.0))
17637+
# 1h & 4h down move, 1d high
17638+
& ((df["RSI_3_1h"] > 10.0) | (df["RSI_3_4h"] > 25.0) | (df["AROONU_14_1d"] < 80.0))
1763717639
# 1h & 4h down move, 4h still high
1763817640
& ((df["RSI_3_1h"] > 10.0) | (df["RSI_3_4h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0))
1763917641
# 1h & 4h down move, 1d overbought

0 commit comments

Comments
 (0)