Skip to content

Commit b970b25

Browse files
committed
X7: signal 63: add protection.
1 parent 28df595 commit b970b25

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.560"
72+
return "v17.3.561"
7373

7474
stoploss = -0.99
7575

@@ -17348,6 +17348,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1734817348
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_4h"] < 30.0))
1734917349
# 1h down move, 1h high
1735017350
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_1h"] < 80.0))
17351+
# 1h down move, 4h high & overbought
17352+
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_4h"] < 90.0) | (df["ROC_9_4h"] < 20.0))
1735117353
# 1h down move, 1d high, 4h downtrend
1735217354
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_1d"] < 90.0) | (df["ROC_9_4h"] > -40.0))
1735317355
# 1h down move, 1d high, 4h overbought

0 commit comments

Comments
 (0)