Skip to content

Commit 4914cb3

Browse files
committed
X7: signal 4: add protection.
1 parent 56cf747 commit 4914cb3

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.568"
72+
return "v17.3.569"
7373

7474
stoploss = -0.99
7575

@@ -13466,6 +13466,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1346613466
& ((df["RSI_3_1h"] > 30.0) | (df["ROC_9_4h"] > -25.0) | (df["ROC_9_1d"] > -60.0))
1346713467
# 1h down move, 4h & 1d overbought
1346813468
& ((df["RSI_3_1h"] > 30.0) | (df["ROC_9_4h"] < 20.0) | (df["ROC_9_1d"] < 100.0))
13469+
# 1h down move, 1h high, 1d overbought
13470+
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_1d"] < 20.0))
1346913471
# 1h down move, 4h high, 1d overbought
1347013472
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_4h"] < 85.0) | (df["ROC_9_1d"] < 100.0))
1347113473
# 1h down move, 1h still high, 1d overbought

0 commit comments

Comments
 (0)